Token Property
This property is used to reference a specific Express Checkout transaction in the PayPal network.
Object Oriented Interface
public function getToken(); public function setToken($value);
Procedural Interface
inpaypal_expresscheckout_get($res, 71 ); inpaypal_expresscheckout_set($res, 71, $value );
Default Value
''
Remarks
PayPal will return a token in the ResponseToken property in response to each request. This value should be saved and passed in the Token property for a CheckoutPayment request, or to modify an existing transaction.
This token expires after three hours.
IMPORTANT: the value of this property can be used to modify an existing checkout session. Normally you call SetCheckout with an empty Token property, and get a ResponseToken back from the PayPal servers. Calling SetCheckout again with the Token property filled will edit that previous checkout session. For instance, this can be used should you want the customer to edit his shipping address on PayPal.
This property is required when calling the CheckoutPayment method.
This property is optional when calling the SetCheckout method.
Character length and limitations: 20 single-byte characters.
Data Type
String