Reply
ab327
ab327 Member
Member
Posts: 1
Kudos: 0

Dynamically creating Add To Cart code, what's wrong?

Hi there, I am at my wits end with this issue and I can't find a solution anywhere.

 

I am using PHP to generate Add to Cart buttons for the products on my friend's website. We are using the secure merchant id (we think) and not the account email. but I get the error message:

 

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

 

when trying to add to cart.

 

Please refer to the following example and if you could tell me what (if anything) I'm missing in terms of the HTML. Otherwise could it be a setting in her paypal account that needs to be set correctly?

 

http://www.karenrothwell.com/?product=mokume-gane-cufflinks

 

Surely I'm missing something really obvious.

 

Please help me fix this!

 

 

0 Kudos
PayPal_Misty
PayPal_Misty Administrator
Administrator
Posts: 1915
Kudos: 83

Re: Dynamically creating Add To Cart code, what's wrong?

Hello ab327, 

 

Ummm, that is really strange! When I test the button from your website it works just fine for me, I am using IE 7 if that helps at all. I would suggest clearing your cache and cookies, try another Internet browser and restart your computer. If that does not work file a ticket with our Merchant Technical team and they can look into the it for you.

 

I hope that helps.

 

~Misty 

0 Kudos
PayPal_RobG
PayPal_RobG PayPal Employee
PayPal Employee
Posts: 182
Kudos: 11

Re: Dynamically creating Add To Cart code, what's wrong?

Hi,

 

Just to let you know, but you're currently not using the 'secure merchant ID' as indicated by the value of 'business' in the <form>. 

You can simply replace the value of this field with the secure merchant ID as found on the PayPal Profile of the PayPal account.

 

The button works for me as well, and appears to be technically correct.

----
For technical assistance with PayPal merchant product offerings, please file a ticket at https://www.paypal.com/mts/
0 Kudos