Widespread Augmented Reality

Widespread Augmented Reality
Click on the image to get the Android Augmented Reality Heads up Display

Saturday, September 20, 2014

Create a Pay Pal Sandbox Button

In order to create a test PayPal "Buy Now" button, follow these steps.

  • Create a real PayPal account.
    https://www.paypal.com
  • Login to PayPal's developer platform with credentials from step 1.
    https://www.developer.paypal.com
  • Click through Dashboard | Sandbox->Accts and you should see a similar screen.

  • The facilitator account is a test merchant that is automatically generated.
  • Create a fictitious personal account for testing.
  • Click on the facilitator merchant account to view the profile, which has login credentials.
  • Click "Enter Sandbox site" and login with the facilitator credentials.
    https://www.sandbox.paypal.com
  • Click Merchant Services tab and then My Saved Buttons.
  • You will notice that the link takes you to PayPal production.
  • Change the URL in the browser address field to include "Sandbox" qualifier, e.g.
    www.sandbox.paypal.com/c2/cgi-bin/webscr?cmd=_button-management
  • This could fail several times before working.
  • Make sure that your browser is pointing to sandbox when you finally get a "My Saved Buttons" screen.
  • Click on create buttons, make sure the browser is pointing to sandbox and follow instructions.
  • Eventually paste the HTML code into your website and pay with the personal sandbox account.

    I suppose I can make a cURL or a Python script to do all this.

  • No comments:

    Post a Comment