close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

PayPal Checkout Failure with Size Options

Thread began 2/03/2016 3:57 pm by joerg431091 | Last modified 2/04/2016 6:29 pm by joerg431091 | 356 views | 4 replies


PayPal Checkout Failure with Size Options

I added options to our website. Everything works great with credit card checkout but I have one problem with PayPal Checkout.

The options are size options for some products. Most options increase in price for larger sizes. I added some calculations such as [sizePriceInc] that reflects the price increase of the individual sizes and truePrice [Price] + [sizePriceInc] that reflects the new price of the product depending on the size option chosen.

So the eCart Object now reflects this with new or changed formulas:

OptionCode [optionCode]
SizeOptions [size]
truePrice [Price] + [sizePriceInc]

As mentioned, everything works perfect with credit card checkout. With PayPal = choosing an option and checking out with PayPal works great as long as the option has no price increase. Meaning that the option has the same price then the base price of the product:


Base Price of product = $8.95
Size 1 = $8.95
Size 2 = $ 8.95

So choosing size 1 or 2 and checking out with paypal works fine.

Once an option has an price increase = choosing paypal as a checkout option leads to an paypal checkout failure.


Base Price of product = $8.95
Size 1 = $10.95 (would be sizePriceInc of $2.00)
Size 2 = $12.95 (would be sizePriceInc of $4.00)

So I guess it must have something to do with either the new [sizePriceInc] or [truePrice] not being recognized in the pp checkout process. I thought It might have something to do with the Order Details in the “Process PayPal Express Checkout Transaction” server behavior on the pp_confirm.php page. So I changed the Amount{x+1} Value from <?php echo $eCart1->DisplayInfo("Price"); ?> to <?php echo $eCart1->DisplayInfo(“truePrice"); ?> to reflect the size price increase but that did not work either.

I hope I did explain my problem correctly (probably not).

Any ideas are greatly appreciated.


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





Ease of use


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...