PayPal Permissions Service - 2012 User's Guide Page 71

  • Download
  • Add to my manuals
  • Print
  • Page
    / 80
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 70
PayPal Permissions Service May 2012 71
9
Permission Commands
The web flows associated with Permissions Service require you to redirect the account
holders browser to PayPal. When you redirect to the webscr endpoint, you must send a
command that identifies the flow and associated parameters.
_grant-permission Command
The account holder can log in to paypal.com and grant permissions to you when you redirect
the account holders browser to paypal.com with the _grant-permission command.
Redirect to PayPal using the _grant-permission command
Redirect to PayPal:
https://www.paypal.com/cgi-bin/webscr?
cmd=_grant-permission&request_token=token
Response to _grant-permission command from PayPal
PayPal redirects to the callback URL you set in the RequestPermissions request. It may
include the following parameters:
If the account holder canceled, no parameters are returned.
Parameter Description
cmd (Required) _grant-permission
request_token (Required) The token from the RequestPermissions response message.
Parameter Description
verification_code Verification code; returned if the account holder agreed to grant permissions.
Expires after 15 minutes.
request_token The token from the RequestPermissions response message; returned if the
account holder agreed to grant permissions.
Error An error code, which is equal to Internal Error if an error occurred.
Page view 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 79 80

Comments to this Manuals

No comments