Jump to content
Larry Ullman's Book Forums
Sign in to follow this  
jayLim

Ch-6 Error Detected - Paypal

Recommended Posts

Hello!

In chapter 6 "Testing the Site", after I click the paypal subscription button, I get this error message :

 

Error Detected

pixel.gifPayPal cannot process this transaction because of a problem with the seller's website. Please contact the seller directly to resolve this problem.

 

I've tried using different test accounts and I get the same thing.

Here are the codes for the paypal button:

 

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

<input type="hidden" name="cmd" value="_s-xclick">

<input type="hidden" name="hosted_button_id" value="FDN9DZRLVBQRL">

<input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">

<img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">

</form>';

Share this post


Link to post
Share on other sites

I've not seen that error before. Unfortunately I don't know what it means, as it's pretty vague. I'd see if there's anything in a PayPal support forum or documentation that might explain it. I assume it has something to do with how you've set up your account.

Share this post


Link to post
Share on other sites

I got the same error.  In my case, it was caused by the fact that, due to something wrong on the PayPal side, when I created the PayPal button in the sandbox, it created a "live" button instead of a test / sandbox button.  There was nothing to refer to "sandbox" in the code for the button.  When I added "sandbox." to the code to try and fix it, I got the error you posted above.

 

For more, see post: Bizarre work-around to create PayPal sandbox button

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...