close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to test making a payment

Thread began 4/03/2013 12:39 pm by andre4458251 | Last modified 4/04/2013 10:43 am by Jason Byrnes | 741 views | 5 replies |

andre4458251

How to test making a payment

Hi again,

So I had a customer try to make a purchase on my account today and they filled out all their credit cart information without having a paypal account and clicked proceed and got a payment cannot be processed error. Then they set up a paypal account, and tried to make a payment using their paypal account, but it lead them to a page where it would not let them use their credit card.

So how do I test this to make sure this doesn't happen??? How do I know if it works or not? Do we have to use paypal? Can a buyer just have a credit card to make a purchase?

order.php is where the ecart is located.

Sign in to reply to this post

Jason ByrnesWebAssist

what paypal system are you using?

Sign in to reply to this post

andre4458251

New developments...

So I am using paypal standard. I was able to do another test payment with a different credit card on a different computer and the order was able to be processed, so I'm not sure what the problem is with the other credit card. Maybe it was just a credit card problem.

However I do have a new problem. On the test payment that went through, the sizing information that the customer has to enter into the HEIGHT and WIDTH fields did NOT show up on the receipt. The only information that showed up on the paypal receipt was the description and item number and very little information about the buyer. Can the ecart details be attached to the receipt or emailed to us? Also, when a purchase is made, can ecart have a notification email sent with all the information?

order.php

Sign in to reply to this post

Jason ByrnesWebAssist

on the confirm page, there is a collection of hidden elements used to pass the product details to paypal.

in the hidden elements there will be the following 4:

<input type="hidden" name="on0_<?php echo $WA_Store_Cart_Index+1; ?>" id="on0_<?php echo $WA_Store_Cart_Index+1; ?>" value="" />
<input type="hidden" name="os0_<?php echo $WA_Store_Cart_Index+1; ?>" id="os0_<?php echo $WA_Store_Cart_Index+1; ?>" value="" />
<input type="hidden" name="on1_<?php echo $WA_Store_Cart_Index+1; ?>" id="on1_<?php echo $WA_Store_Cart_Index+1; ?>" value="" />
<input type="hidden" name="os1_<?php echo $WA_Store_Cart_Index+1; ?>" id="os1_<?php echo $WA_Store_Cart_Index+1; ?>" value="" />

set the value of the on0_<?php echo $WA_Store_Cart_Index+1; ?> element to Height.

for the os0_<?php echo $WA_Store_Cart_Index+1; ?> element, use the height binding from the cart object.

set the on1_<?php echo $WA_Store_Cart_Index+1; ?> element value to width.

for the os1_<?php echo $WA_Store_Cart_Index+1; ?> element, use the width cart column binding.

because of the way paypal standard works, eCart will not generate an email receipt. you should rely on the paypal system for the email receipt.

Sign in to reply to this post

andre4458251

Response

OK great, like this???

<input type="hidden" name="on0_<?php echo $eCart1_Index+1; ?>" id="on0_<?php echo $eCart1_Index+1; ?>" value="height" />
<input type="hidden" name="os0_<?php echo $eCart1_Index+1; ?>" id="os0_<?php echo $eCart1_Index+1; ?>" value="<?php echo $eCart1->DisplayInfo("Height"); ?>" />
<input type="hidden" name="on1_<?php echo $eCart1_Index+1; ?>" id="on1_<?php echo $eCart1_Index+1; ?>" value="width" />
<input type="hidden" name="os1_<?php echo $eCart1_Index+1; ?>" id="os1_<?php echo $eCart1_Index+1; ?>" value="<?php echo $eCart1->DisplayInfo("Width"); ?>" />

So will this send me the height and width values on my paypal receipt?

Sign in to reply to this post

Jason ByrnesWebAssist

yes, that looks correct.

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