E-Payment Integrator 2020 Python Edition

Questions / Feedback?

token Property

This property is used to reference a specific Express Checkout transaction in the PayPal network.

Syntax

def get_token() -> str: ...
def set_token(value: str) -> None: ...

token = property(get_token, set_token)

Default Value

""

Remarks

PayPal will return a token in the response_token property in response to each request. This value should be saved and passed in the token property for a checkout_payment 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 set_checkout with an empty token property, and get a response_token back from the PayPal servers. Calling set_checkout 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 checkout_payment method.

This property is optional when calling the set_checkout method.

Character length and limitations: 20 single-byte characters.

Copyright (c) 2021 /n software inc. - All rights reserved.
E-Payment Integrator 2020 Python Edition - Version 20.0 [Build 7941]