close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


PayPal logic problem

Thread began 3/07/2013 9:40 am by Christopher West | Last modified 3/07/2013 9:54 am by Jason Byrnes | 828 views | 1 replies |

Christopher WestCommunity Expert

PayPal logic problem

Hi Jason, I think I asked this a long time ago and the problem came up again in my new build of the website im doing...

with my ecommerce website lets say I have a cart total of £10 and shipping is 99p
now if a customer applies either a gift voucher code or a coupon code of value £10 that would bring the cart total to £0 and shipping 99p....however PayPal wont process this since its checking the total would the work around consist of performing an IF statement just before the ecart post on the checkout page..something like this:

IF carttotal = £0
then carttotal = carttotal+1
and shipping = shipping-1

This way I am tricking PayPal to say there is a value in the cart total but I would be removing this value for the customer in terms of subtracting it from the shipping cost - It will look messy for the customer to see in PayPal - but of course this wouldn't happen much as I doubt there be many transactions like this.

Unless of course there is a more logical way around this problem that I am missing.


Sign in to reply to this post

Jason ByrnesWebAssist

yes, you would need to pass the shipping as the cart total in that case.

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





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