I saw a web page in which the developer only included a paystack web link on a button like: ‘https://paystack.com/pay/specific-reason-for-payment’ kind of link. Which of the API references handles this type of integration?
That should be a Paystack payment page. Login to your Paystack dashboard to create one.
Thanks man. At first I didn’t see the documentation on the paystack homepage. I have seen it now.
@ojochidem please can you explain to me how to add custom fields in the paystack inline API. The documentation does not explain the ‘meta-data’ field. Thanks man.
Hey man.
The metadata should be in the form of a JSON passed as a custom_fields
variable. Here is an example:
{
display_name: "Mobile Number",
variable_name: "mobile_number",
value: "+2348012345678"
}```
The `display_name`, `variable_name` and `value` can be anything you want it to be.
Thanks for your response. Please what is the use of the custom fields data? Would paystack save it in their database of my customers?
You are welcome.
It is for when you want extra information saved to your transaction. Paystack will save it along with the details of your transaction and show it to you on your dashboard.
Thanks man. I appreciate!
How do I view the custom fields on the dashboard.
Hey man,
Just seeing this. I think I replied you via email but just in case it wasn’t you;
The fields are supposed to show under Dashboard, this will be done very soon. Quickest way to get these fields right now though is an API call with the List Transactions or Fetch Transactions endpoints