Custom Parameters Overview
Use x custom fields if you have custom data that you want to pass to the checkout page and collect its value via webhook or API.
If you have the information that is not needed for transaction processing like your internal user ID, username or previous license key, etc., but you want to get it after the payment, then you can pass the value to the checkout via URL as follows:
&x-customfield1=value1
&x-customfield2=value2
Any text after x-
can be =
to any text here, for example:
&x-testuser=123
The value will be returned:
- in webhook via
ORDER_CUSTOM_FIELDS=x-testuser=123
- in response to API method POST https://store.payproglobal.com/api/Orders/GetOrderDetails
"customFields": [{
"customFieldKey": "x-testuser",
"customFieldValue": "123"
}],
- in the PayPro Global account on the order details page:
Screenshot
- in the post-purchase email notification PayPro Global Order Notification in the line:
ORDER_CUSTOM_FIELDS: x-testuser=123