danmtslatter
danmtslatter

Reputation: 11

PayPal pass through variables using REST API SDK for PHP

I am using the PHP SDK for PayPal and am successfully creating payments and return messages, although I can't figure out from the documentation how to reliably pass through my own vars that will be passed back to me in the $_GET string to the response URL.

Upvotes: 0

Views: 948

Answers (1)

PayPal_MSI_Robert
PayPal_MSI_Robert

Reputation: 961

When payment_method is set to paypal, you can pass custom field in the transaction object. This field can hold 256 characters and you should be able to get it in $_GET string.

Upvotes: 1

Related Questions