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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Price Variable on PayPal Form

Thread began 5/19/2014 12:11 pm by Me | Last modified 5/19/2014 12:33 pm by Jason Byrnes | 373 views | 3 replies |

Me

Price Variable on PayPal Form

Hi

Here (for example), is the form variable created by eCart for the amount being submitted to PayPal from the Checkout Page

<input type="hidden" name="amount_<?php echo $ShoppingCart_Index+1; ?>" id="amount_<?php echo $ShoppingCart_Index+1; ?>" value="<?php echo WA_eCart_FormatNumber($ShoppingCart->DisplayInfo("Price") - (($ShoppingCart->DisplayInfo("Price")/$ShoppingCart->TotalColumn("TotalPrice")) * $ShoppingCart->GetDiscounts()), false, 2) ?>" />

Using the browser element inspector, what is there to stop an individual from changing the value of this variable, before submitting to PayPal. I just did this and it is possible to do and PayPal shows the amount I manipulated. This means of course, that say this variable holds a total value of £100.00, I could manipulate it to £1.00 and PayPal at this point in the process would have no problem in processing as the value passed from the checkout page?

Advice real quick would be cool on this one please :-)

Regards
Andrew

PS: If this is a dumb question, please simply point me in the right direction, as looking through the eCart behaviour dialogues, I cannot see anyway of (for example) hashing the form output?

PSS: I should also say this is for PayPal Standard

Sign in to reply to this post

Jason ByrnesWebAssist

This is an inherent risk in using paypal standard as the gateway.

Instead of using paypal standard, I recommend using Paypal Express checkout, or Paypal Payments Pro. both of those APIS pass the payment information to paypal using a more secure cURL post.

Paypal payments standard uses the less secure hidden form elements method of passing item information.

Sign in to reply to this post

Me

Does the new eCart 6 have dialogues / wizards to help set up checkout pages for PayPal Express Checkout and Pro

Sign in to reply to this post

Jason ByrnesWebAssist

yes, on the gateway tab, you can select to use paypal pro or paypal express as the gateway.

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