PayPal Express Checkout - 2009 Guide de l'utilisateur Page 68

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 110
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 67
Customizing Express Checkout
User Confirms Order on PayPal
6
68 October 2009 Express Checkout Integration Guide
read Pay Now. (After the buyer returns from the PayPal site, you must call
DoExpressCheckoutPayment to actually complete the transaction.)
To display Pay Now on the button:
1. Get the token from the response to SetExpressCheckout.
The response to SetExpressCheckout is the buyers token. For example, if the value of
RETURNURL passed to SetExpressCheckout is
https://www.websitename.com/snagECvalues, the URL to which PayPal redirects
appears as https://www.websitename.com/snagECvalues?token=EC-
0W8920957N684880R
2. Add the token and the desired
useraction value (continue or commit) as name-value pairs
to the following URL:
https://www.paypal.com/cgi-bin/webscr?cmd=_express-
checkout&token=
valueFromSetExpressCheckoutResponse&useraction=commit
The figure below shows the PayPal Review page when useraction=commit.
PayPal review page when user commits to purchase on PayPal
Vue de la page 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 109 110

Commentaires sur ces manuels

Pas de commentaire