Para obtener un token, necesita tener una cuenta PayPal del tipo Premier o Business. En su cuenta debe activar la opción Payment Data Transfer. Siga los siguientes pasos para obtenerlo:
1. Vaya a la página de PayPal y acceda como usuario con su cuenta.
2. Haga clic en "Profile" en la parte superior de la pantalla.
3. Click the "Website Payment Preferences" link under the "Selling Preferences" header.
4. Click the Payment Data Transfer "On" radio button.
5. Click "Save."
You might be prompted to turn on Auto Return in order to use Payment Data Transfer, or PDT. If so, turn that on.
A confirmation message will appear at the top of the page indicating that you have successfully enabled Payment Data Transfer.
Your identity token will appear within that message, as well as below the PDT On/Off radio buttons.
As part of the Payment Data Transfer process you will need to pass PayPal the identity token, along with the transaction token, in order to display the transaction details to your customers. For more information on Payment Data Transfer, please refer to the Order Management Integration Guide by following these steps:
1. Go to the PayPal website and log in to your account.
2. Click the "Merchant Services" tab.
3. Click "View all Features" under the PayPal Website Payments Standard section.
4. Click '"Backend Integration."
5. Click "Learn more" in the Payment Data Transfer section.
6. Click "Manual."
7. Click "Order Management Integration Guide."
To view this guide, Adobe Acrobat Reader software is required. We recommend using the latest version available for your operating system. To download or update Adobe Acrobat Reader, click 'Adobe Acrobat'.
Once Payment Data Transfer has been turned on, Payment Data Transfer notification will occur when a user has completed their payment. If PayPal Account Optional is turned on then a new user will need to choose to continue to your website in order to trigger Payment Data Transfer notification.
If you also need notification of transaction reversals (such as chargebacks), refunds, and subscription events, please also enable Instant Payment Notification (IPN).