close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Multiple items to pass to Paypal, but PayPal not accepting results

Thread began 2/23/2017 5:33 pm by Janet | Last modified 2/27/2017 12:29 pm by Ray Borduin | 114 views | 4 replies |

Janet

Multiple items to pass to Paypal, but PayPal not accepting results

My customer has a PayPal Payments Standard account, and I have built a webpage that is a very basic shopping cart, collecting information on the products ordered.

I then set up a "buy now" button using the paypal buttons, and added a loop of the recordset information to list all products.

I have given the code in private, plus a link to the page in question.

The issue is that PayPal, when the "cmd" is "_xclick" doesn't seem to collect any information and asks for "purchase details". I tried changing the "cmd" to "_cart" but then Paypal gives an error about the setup.

I what I am doing possible? If it is, can you tell me where I have gone wrong?

Sign in to reply to this post

Ray BorduinWebAssist

You need a separate form for each button for "_xclick"

You should be able to get it working with "_cart".

I think you also have to add:

<input name="upload" value="1" type="hidden"/>

to add multiple items with an "_cart" command.

Sign in to reply to this post

Janet

Hi Ray, thanks for that advice. I changed it to "_cart" and got an error message from the PayPal payment screen...

We have detected a problem with this shopping cart. If the problem persists, please contact the merchant.

Your purchase couldn't be completed
There's a problem with the merchant's PayPal account. Please try again later.

I changed the PayPal account to my own, which I know is a business account, and added the line you suggested, but this error came up.

Any thoughts you can give me would be really appreciated - I've posted a private link to the latest version of the page

Sign in to reply to this post

Ray BorduinWebAssist

change your cmd hidden field to _cart and add:
<input name="upload" value="1" type="hidden"/>

Then it will work.

Sign in to reply to this post

Janet

Thank you sir, that worked perfectly (and would have done the first time you told me if I didn't have the typo!)

I appreciate you!

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...