PayPal Subscription is not working in sandbox environment

adam991
Contributor
Contributor

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

Login to Me Too
2 REPLIES 2

indjeff
New Community Member

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

Login to Me Too

adam991
Contributor
Contributor

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

 

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

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.