response_token Property
The time-stamped token value.
Syntax
def get_response_token() -> str: ...
response_token = property(get_response_token, None)
Default Value
""
Remarks
This property is returned after all three kinds of Express Checkout requests: set_checkout. get_checkout_details, and checkout_payment. This token is used to reference a specific transaction in the PayPal network.
This value is used for several things:
- After calling the set_checkout method, the value of this property should be appended to the PayPal login page, located here: https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=. The customer's browser should then be redirected to this location. This starts the PayPal payment process.
- After the customer successfully pays, this token is appended as a query string to the value sent in the return_url property. The customer is redirected to this URL (which should reside on your server).
- You must then pass this value in the Token parameter of the get_checkout_details method to continue the transaction.
- The token property must be set with this value before calling checkout_payment.
This token expires after three hours.
This property is read-only.