FillFormVars Method
This is used to fill the FormVars property.
Syntax
procedure FillFormVars(postdata: String);Remarks
This method takes the entire post data of the Instant Payment Notification received by the merchant, and uses it to fill the FormVars. You may alternatively parse the post data yourself and fill the FormVars property manually. This method is here for your convenience.
Due to PayPal constantly updating their IPN protocol, there are many form variables that are not automatically parsed by the component. The following is a list of more commonly used form variables which do not have associated properties in this component. For a comprehensive list of form variables, please visit the PayPal Integration Center (https://www.paypal.com/IntegrationCenter/).
first_name | Customer's first name |
last_name | Customer's last name |
contact_phone | Customer's telephone number |
payer_business_name | Customer's company name (if the customer represents a business) |
invoice | Invoice number of this purchase (optionally generated at the time of purchase) |
receiver_id | Unique account Id of payment recipient (if different from RecipientEmail) |
custom | Custom pass-through value. May be used for any purpose |
tax | Amount of tax charged on the payment |
for_auction | Boolean "true" or "false" indicates whether this payment is for an auction (eBay or otherwise) |
auction_buyer_id | The customer's auction id |
auction_closing_date | The close date of the auction |
The following form variables are present for transactions made via the DirectPayment or ExpressCheckout component.
auth_id | Authorization identification number |
auth_exp | Authorization expiration date and time |
auth_status | Status of authorization ("Completed", "Pending", or "Voided"). |
auth_amount | Authorization amount |
parent_txn_id | In the case of a refund, reversal, or canceled reversal, this variable contains the TransactionId from the original transaction. |
pending_reason | This variable only contains a value if PaymentStatus is "Pending", and will indicate the reason behind that status. |
reason_code | This variable only contains a value if PaymentStatus is "Reversed" or "Refunded", and indicates the reason behind that status. |
remaining_settle | Remaining amount that can be captured with ReAuthCapture. |