Developer Tools – Thank-you Page Redirect Parameters

Key/Value
Description
ACTION_REASON=
Action reason, if available, in case of decline, refund, chargeback, subscription cancelation.
AFFILIATE_AGREEMENT_ID=
Integer affiliate agreement ID if order item has affiliate commission.
AFFILIATE_NETWORK_ID=
Integer affiliate network ID if order item has affiliate commission.
AFFILIATE_VENDOR_ACCOUNT_ID=
Integer affiliate vendor account ID if order item has affiliate commission.
CLOUD_COMMERCE=1
Always 1. Indicates that the IPN comes from PayPro CloudCommerce platform not from PayPro Classic.
COMPANY_NAME=
Company name if provided.
COUPON_CODE=
Used coupon code if coupon has been applied.
COUPON_ID=
Coupon ID if coupon has been applied.
CREDITCARD_LAST4=1798
Last 4 digits of the credit card used by the customer while purchasing.
CREDIT_CARD_BIN=491696
Bank identification number (BIN).
CREDIT_CARD_BIN_RESULT=
Bank branch information.
CREDIT_CARD_LAST4=1798
Credit card last 4 digits if credit card has been used.
CUSTOMER_CITY=town
Customer city.
CUSTOMER_COUNTRY_CODE=UA
Customer country selected on checkout page.
CUSTOMER_COUNTRY_CODE_BY_IP=UA
Customer country code detected by IP address if detection succeeds.
CUSTOMER_COUNTRY_NAME=Ukraine
Customer country name selected on checkout page.
CUSTOMER_COUNTRY_NAME_BY_IP=Ukraine
Customer country name detected by IP address if detection succeeds.
CUSTOMER_EMAIL=test@payproglobal.com
Customer email address.
CUSTOMER_FIRST_NAME=John
Customer first name.
CUSTOMER_FIRST_NAME_ASCII=John
Customer first name converted into ASCII in case if you collect data in ASCII only.
CUSTOMER_ID=1620482
Integer customer ID.
CUSTOMER_IP=194.44.216.36
Customer IP address.
CUSTOMER_LANGUAGE_CODE=en
The language selected by a customer during a purchase.
CUSTOMER_LAST_NAME=Doe
Customer last name.
CUSTOMER_LAST_NAME_ASCII=Doe
Customer last name converted into ASCII in case if you collect data in ASCII only.
CUSTOMER_NAME=John+Doe
Customer first and last name.
CUSTOMER_NAME_ASCII=John+Doe
Customer first and last name converted into ASCII in case if you collect data in ASCII only.
CUSTOMER_PHONE=+1-001-12345679
Customer phone.
CUSTOMER_STATE_CODE=
Customer state code if applicable.
CUSTOMER_STATE_NAME=
Customer state name if applicable.
CUSTOMER_STREET_ADDRESS=17+test+street+name
Customer street address.
CUSTOMER_TIMEZONE=
Order placement time using customer time zone (is taken from customer’s browser / operating system).
CUSTOMER_TITLE=
Customer title if provided.
CUSTOMER_ZIPCODE=
CUSTOM_LICENSE_INFO=
Customer ZIP/postal code.
HASH=c4ca4238a0b923820dcc509a6f75849b
IPN verification signature hash that is MD5(“1”) for test orders or MD5(OrderId+SecretKey) in case of real order. SecretKey can be specified in Account Settings – Business Info in PayPro CloudCommerce control panel.
INVOICE_LINK= https://store.payproglobal.com/invoice? Id=f125ca26-67a0-43fa-a18d-9aac2ce57af7&Date=20160223
Invoice URL.
IS_DELAYED_PAYMENT=0
Is 1 if order item has delayed payment and is not charged at the moment when order is being placed.
LICENSED_TO_EMAIL=
Licensee email address, in case if license was sent to another person.
LICENSED_TO_NAME=
Licensee name, in case if license was sent to another person.
LICENSED_TO_NAME_ASCII=
Licensee name converted into ASCII in case if you collect data in ASCII only and license was sent to another person.
MAXMIND_RESULT=
MaxMind result.
ORDER_AFFILIATE_REFUNDED=0.00
Affiliate share of refunded order amount.
ORDER_BALANCE_CURRENCY_AFFILIATE_REFUNDED= 0.00
ORDER_BALANCE_CURRENCY_PARTNERS_REFUNDED= 0.00
ORDER_BALANCE_CURRENCY_REFUNDED=0.00
Refunded order amount converted into vendor balance currency. Balance currency can be different from the currency customer has been charged in.
ORDER_BALANCE_CURRENCY_VENDOR_REFUNDED= 0.00
ORDER_CURRENCY_CODE=UAH
Order currency, in which customer has been charged.
ORDER_CUSTOM_FIELDS=
Custom fields specified for order.
ORDER_ID=7487923
Integer order ID.
ORDER_ITEMS[0][COUPON_NAME]=
ORDER_ITEMS[0][EC_PRODUCT_ID]=
ORDER_ITEMS[0][EC_SUBSCRIPTION_ID]=
ORDER_ITEMS[0][IPN_TYPE_ID]=1
ORDER_ITEMS[0][IPN_TYPE_NAME]=OrderCharged
ORDER_ITEMS[0][IS_ON_TRIAL_PERIOD]=0
ORDER_ITEMS[0][ORDER_ITEM_AFFILIATE_AMOUNT]=0.00
ORDER_ITEMS[0][ORDER_ITEM_AFFILIATE_REFUNDED]=0.00
ORDER_ITEMS[0][ORDER_ITEM_BALANCE_CURRENCY_AFFILIATE_ AMOUNT]=0.00
ORDER_ITEMS[0][ORDER_ITEM_BALANCE_CURRENCY_AFFILIATE_ REFUNDED]=0.00
ORDER_ITEMS[0][ORDER_ITEM_BALANCE_CURRENCY_PARTNERS_ AMOUNT]=0.00
ORDER_ITEMS[0][ORDER_ITEM_BALANCE_CURRENCY_PARTNERS_ REFUNDED]=0.00
ORDER_ITEMS[0][ORDER_ITEM_BALANCE_CURRENCY_PAYPRO_ AMOUNT]=0.00
ORDER_ITEMS[0][ORDER_ITEM_BALANCE_CURRENCY_PAYPRO_ EXPENSES_AMOUNT]=0.00
ORDER_ITEMS[0][ORDER_ITEM_BALANCE_CURRENCY_ REFUNDED]=0.00
ORDER_ITEMS[0][ORDER_ITEM_BALANCE_CURRENCY_ TOTAL_AMOUNT]=0.00
ORDER_ITEMS[0][ORDER_ITEM_BALANCE_CURRENCY_ VENDOR_AMOUNT]=0.00
ORDER_ITEMS[0][ORDER_ITEM_BALANCE_CURRENCY_ VENDOR_REFUNDED]=0.00
ORDER_ITEMS[0][ORDER_ITEM_COUPON_DISCOUNT]=0.00
ORDER_ITEMS[0][ORDER_ITEM_DYNAMIC_DISCOUNT]=0.00
ORDER_ITEMS[0][ORDER_ITEM_ID]=9238217
ORDER_ITEMS[0][ORDER_ITEM_LEAD_DISCOUNT]=0.00
ORDER_ITEMS[0][ORDER_ITEM_LICENSES]=qwer-qwre-qwreqr-qweqwe
ORDER_ITEMS[0][ORDER_ITEM_NAME]= EXTENDED+DATA+MIGRATION+SERVICE
ORDER_ITEMS[0][ORDER_ITEM_PARTNERS_AMOUNT]=0.00
ORDER_ITEMS[0][ORDER_ITEM_PARTNERS_REFUNDED]=0.00
ORDER_ITEMS[0][ORDER_ITEM_PAYPRO_EXPENSES_AMOUNT]=0.00
ORDER_ITEMS[0][ORDER_ITEM_PRICE]=284.55
ORDER_ITEMS[0][ORDER_ITEM_PROMO_DISCOUNT]=0.00
ORDER_ITEMS[0][ORDER_ITEM_REFUNDED]=0.00
ORDER_ITEMS[0][ORDER_ITEM_SKU]=
ORDER_ITEMS[0][ORDER_ITEM_TOTAL_AMOUNT]=284.55
ORDER_ITEMS[0][ORDER_ITEM_TOTAL_DISCOUNT]=0.00
ORDER_ITEMS[0][ORDER_ITEM_TYPE_ID]=1
ORDER_ITEMS[0][ORDER_ITEM_TYPE_NAME]=Product
ORDER_ITEMS[0][ORDER_ITEM_VENDOR_AMOUNT]=0.00
ORDER_ITEMS[0][ORDER_ITEM_VENDOR_REFUNDED]=0.00
ORDER_ITEMS[0][ORDER_ITEM_VOLUME_DISCOUNT]=0.00
ORDER_ITEMS[0][PRODUCT_COMBINATION_ID]=1715
ORDER_ITEMS[0][PRODUCT_COMBINATION_NAME]=Home, 1
ORDER_ITEMS[0][PRODUCT_ID]=4617
ORDER_ITEMS[0][PRODUCT_QUANTITY]=1
ORDER_ITEMS[0][REGIONAL_PRICE]=False
ORDER_ITEMS[0][SELECTION_GROUP_ITEM_IDS]=
ORDER_ITEMS[0][SELECTION_GROUP_ITEM_NAMES]=
ORDER_ITEMS[0][SUBSCRIPTION_ID]=349773
ORDER_ITEMS[0][SUBSCRIPTION_INITIAL_EC_ORDER_ID]=
ORDER_ITEMS[0][SUBSCRIPTION_INITIAL_ORDER_ID]=7487923
ORDER_ITEMS[0][SUBSCRIPTION_NEXT_CHARGE_DATE]=3/23/2016 9:02 AM
ORDER_ITEMS[0][SUBSCRIPTION_STATUS_ID]=1
ORDER_ITEMS[0][SUBSCRIPTION_STATUS_NAME]=Active
ORDER_ITEMS[0][TRIAL_PERIOD_TILL]=
ORDER_ITEMS[0][VENDOR_BALANCE_CURRENCY_CODE]=USD
ORDER_ITEMS_COUNT=2
Total number of order items.
ORDER_PARTNERS_REFUNDED=0.00
Partner share of refunded order amount.
ORDER_PLACED_TIME_CUSTOMER_TIMEZONE= 02/23/2016 11:02:07
Order placement time using customer time zone (is taken from customer’s browser / operating system).
ORDER_PLACED_TIME_UTC=02/23/2016 09:02:08
Order placement time in UTC.
ORDER_REFERRER_URL=
Webpage from where customer came to the checkout page.
ORDER_REFUNDED=0.00
Refunded order amount.
ORDER_STATUS=Processed
Text representation of ORDER_STATUS_ID.
ORDER_STATUS_ID=5
  1. Waiting
  2. Canceled
  3. Refunded
  4. Chargeback
  5. Processed
ORDER_TAXES_AMOUNT=0.00
Order tax fees of all items in order.
ORDER_TAXES_BALANCE_CURRENCY_AMOUNT=0.00
ORDER_TOTAL_AMOUNT=0.00
Order total (all order items) with tax fees.
ORDER_TOTAL_AMOUNT_SHOWN=284.55
Order total (all order items) with tax fees shown on checkout page.
ORDER_TOTAL_AMOUNT_WITH_TAXES_SHOWN=284.55
Order total amount including tax in order billing currencies.
ORDER_TOTAL_BALANCE_CURRENCY_AMOUNT=0.00
ORDER_TOTAL_USD_AMOUNT=10.00
ORDER_VENDOR_REFUNDED=0.00
Vendor share of refunded order amount.
PAYMENT_METHOD_ID=2
  • 1. Credit Card
  • 2. Visa
  • 3. MasterCard
  • 4. American Express
  • 5. Diners
  • 6. Discover
  • 7. JCB
  • 8. Solo
  • 9. Maestro
  • 10. Phone Order
  • 11. Fax Order
  • 13. Check / Cash
  • 14. PayPal
  • 15. Wire Transfer
  • 16. iDEAL
  • 17. Giropay
  • 18. Raifeissen
  • 19. Volksbanken Gruppe
  • 21. Voralberger HYPO
  • 22. Bankhaus Spängler
  • 23. Hypo Tirol Bank
  • 24. Erste Bank und Sparkassen
  • 25. P.S.K.
  • 27. Sparda-Bank
  • 30. Purchase Order
  • 31. WebMoney
  • 32. Yandex.Money
  • 33. Boleto Bancario
  • 34. Alipay
  • 36. QIWI
  • 37. Real-time Bank Transfer
  • 44. CarteBleue
  • 45. Sofort
  • 46. MrCash
  • 47. EPS
  • 48. UseMyFunds
  • 49. Przelewy24
  • 50. OneCard
  • 51. CashU
  • 52. POLi
  • 53. Multibanco-SIBS
  • 54. Moneta Wallet
  • 55. Paysera
  • 56. Abaqoos
  • 57. ePlatby for eKonto
  • 58. Trustly
  • 59. PaysBuy
  • 60. eNETS Debit
  • 61. MercadoPago
  • 62. ToditoCash
  • 63. PayWithMyBank
  • 64. Tenpay
  • 65. TrustPay
  • 66. MangirKart
  • 67. Finnish Banks
  • 68. MTCPay
  • 69. DragonPay
  • 70. MyBank
  • 71. AmBank
  • 72. CIMB Clicks
  • 73. FPX
  • 74. Hong Leong Bank Transfer
  • 75. Maybank2U
  • 76. Mandiri
  • 77. XLTunai
  • 78. Cash Options Thailand
  • 79. Online Banking Thailand
  • 80. PaysBuy Wallet
  • 81. OP-Pohjola
  • 82. Nordea
  • 83. Danske
  • 84. Globe GCash
PAYMENT_METHOD_NAME=Visa
Text representation of PAYMENT_METHOD_ID=2.
PAYPAL_ACCOUNT=
Customer PayPal account if used.
PAYPRO_GLOBAL=1
Always 1. Indicates that IPN comes from PayPro Global.
SHIPPING_CITY=
SHIPPING_COUNTRY_CODE=
SHIPPING_COUNTRY_NAME=
SHIPPING_FIRST_NAME=
SHIPPING_FIRST_NAME_ASCII=
SHIPPING_LAST_NAME=
SHIPPING_LAST_NAME_ASCII=
SHIPPING_STATE_CODE=
SHIPPING_STATE_NAME=
SHIPPING_STREET_ADDRESS=
SHIPPING_ZIPCODE=
TEST_MODE=1
1 or 0.
WHAT_IS_NEXT=<div>This order was paid by credit card. Last four digits of the credit card are XXXX-XXXX-XXXX-1798<br><policy_custom_page><a class=”‘hideInPrint’ HREF=\”javascript:window.print()\”>Click Here to Print This Page.</a><div>

Thank-you Page parameters handling example :

C# Example

<%@ Page Language="C#" %> <% try { System.Text.StringBuilder bld = new StringBuilder(); bld.Append("<<<start>>>"); for (int i = 0; i < Request.Form.Keys.Count; i++) { bld.Append(Request.Form.Keys[i].ToString() + " = " + Request.Form[i].ToString() + " , "); } for (int i = 0; i < Request.QueryString.Keys.Count; i++) { bld.Append(Request.QueryString.Keys[i].ToString() + " = " + Request.QueryString[i].ToString() + " , "); } bld.Append("<<<end>>>"); bld.AppendLine(); System.IO.StreamWriter writer = new System.IO.StreamWriter(@"// path to your dump file"); writer.Write(bld.ToString()); writer.Close(); Response.Write(bld.ToString()); } catch (Exception ex) { Response.Write(ex.Message); } %>

PHP Example

<?php $customer_email = $_REQUEST['CUSTOMER_EMAIL']; //output echo $customer_email; ?>

ASP Example

<% private void Page_Load(object sender, System.EventArgs e) { string customerEmail = Request.QueryString("CUSTOMER_EMAIL"); Response.Write(customerEmail); } %>