PayPal Adaptive Payments - 2012 Podręcznik Użytkownika Strona 253

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 298
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 252
Adaptive Payments Developer Guide August 7, 2012 253
15
Adaptive Payment Commands
and Redirects
The web flows associated with Adaptive Payments may require you to redirect a senders
browser to PayPal. When you redirect to the webscr endpoint, you must send a command that
identifies the flow and associated parameters, or in the case of the embedded payment flow,
you must redirect to a specific endpoint for the flow.
Adaptive Payment Commands
When redirecting to https://www.paypal.com/webscr, you must specify a command
that identifies the flow.
_ap-payment Command
The sender can log in to paypal.com and approve a payment when you redirect the senders
browser to paypal.com with the _ap-payment command.
Redirect to PayPal using the _ap-payment command
https://www.paypal.com/webscr?cmd=_ap-payment&paykey=value
Response to _ap-payment command from PayPal
PayPal redirects to the return URL you set in the Pay request.
NOTE: Any additional parameters you specify in the URL are not returned.
Command Description
_ap-payment Invokes PayPal login to approve a payment using Adaptive Payments
_ap-preapproval Invokes PayPal login to set up a preapproval using Adaptive Payments
Parameter Description
cmd (Required) _ap-payment
paykey (Required) The payment key from the Pay response message; for example, AP-
12345678901234567.
Przeglądanie stron 252
1 2 ... 248 249 250 251 252 253 254 255 256 257 258 ... 297 298

Komentarze do niniejszej Instrukcji

Brak uwag