-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Alyssa Quek edited this page Aug 31, 2014
·
13 revisions
Welcome to the drywall-api wiki!
https://developer.github.com/v3/repos/#get
GET /repos/:owner/:repo
Grab an access_token from http://auth0.com https://api.github.com/repos/cofounders/drywall-web/issues?access_token=
##Paypal
- Paypal's NVP API provides more options than the rest API.
- Create a subscribe button https://www.paypal.com/sg/cgi-bin/webscr?cmd=_button-designer&factory_type=subscribe
- Paypal ExpressCheckout NVP API https://developer.paypal.com/docs/classic/api/merchant/SetExpressCheckout_API_Operation_NVP/
- Sandbox playground https://devtools-paypal.com/guide/recurring_payment_ec/curl?interactive=ON&env=sandbox
- Set up ipn (instant payment notification) and pdt https://shopplugin.net/kb/how-do-i-setup-paypal-ipn-and-pdt/
To create a recurring payment:
- Set up a billing plan with
SetExpressCheckout
https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/SetExpressCheckout_API_Operation_NVP/ - Redirect the user to the response url from the
SetExpressCheckout
. The user will either complete the paypal payment and get redirected toreturnUrl
or abort and get redirected tocancelUrl
. - Create and execute a recurring plan with
CreateRecurringPaymentsProfile
https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/CreateRecurringPaymentsProfile_API_Operation_NVP/ - Check that
ACK === Success
in the response. If its successful, the payment is complete. If any of the above steps fail, the transaction is incomplete. If IPN has been set up, a notification will occur on success. - Cancel, suspend or reactivate a recurring profile with
ManageRecurringPaymentsProfileStatus
https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/ManageRecurringPaymentsProfileStatus_API_Operation_NVP/