How do I test Paypal subscription buttons with sandbox?

前端 未结 5 1575
旧时难觅i
旧时难觅i 2021-02-01 16:40

after 5 hours of research and reading outdated paypal documentation I finally give up!

I need to test a simple paypal subscription button with the paypal sandbox.

<
5条回答
  •  花落未央
    2021-02-01 16:58

    Just a short add how to make the hosted button in the sandbox:

    1. Create and log in to your sandbox account on https://developer.paypal.com/
    2. Choose "Test Accounts".
    3. Create a "Preconfigured" test account for a seller, make sure you remember the password, and make sure the password contain numbers or you will not be able to log in with it.
    4. Click the yellow button "Enter Sandbox Test Site".
    5. My Account >> Profile >> Selling Preferences >> My Saved Buttons
    6. Edit your button. (There are 3 "saved" pre-made buttons there.) Make sure you dont dwell too long, it logged me out without telling me so and I got a blank code field first time I fiddled with my button.

    Hopefully this saved you some time :)

提交回复
热议问题