cancel
Showing results for 
Search instead for 
Did you mean: 

PayPal Subscription is not working in sandbox environment

Highlighted
Contributor

PayPal Subscription is not working in sandbox environment

I am using the following code to test paypal subscription in sandbox environment.

 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">

    <!-- Identify your business so that you can collect the payments. -->
    <input type="hidden" name="business" value="some-facilitatormail.com">

    <!-- Specify a Subscribe button. -->
    <input type="hidden" name="cmd" value="_xclick-subscriptions">
    <!-- Identify the subscription. -->
    <input type="hidden" name="item_name" value="Alice's Weekly Digest">
    <input type="hidden" name="item_number" value="DIG Weekly">

    <!-- Set the terms of the regular subscription. -->
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="a3" value="5.00">
    <input type="hidden" name="p3" value="1">
    <input type="hidden" name="t3" value="M">

    <!-- Set recurring payments until canceled. -->
    <input type="hidden" name="src" value="1">

    <!-- Display the payment button. -->
    <input type="image" name="submit"
    src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribe_LG.gif"
    alt="Subscribe">
    <img alt="" width="1" height="1"
    src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" >
</form>

</body>
</html>

Note: The @ character is removed deliberately from the business field.

 

In the PayPal checkout page whenever I click on "Subscribe" button ( not on the PayPal Checkout button). I get the following error:

 

We’re sorry
Things don’t appear to be working at the moment

Is there anything wrong with my code? or It just sandbox problem with sandbox?

 

Thanks

2 REPLIES 2
New Community Member

Re: PayPal Subscription is not working in sandbox environment

I am having the same issue, however, we have been using the sandbox for months.  It just started reporting this recently.

Contributor

Re: PayPal Subscription is not working in sandbox environment

Yes, I tested the same code last month it was working perfectly.

 

Don't know what the paypal devs  are up to?