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

Checkout keeps failing

Thread began 10/14/2012 3:05 am by brentkeithtaylor415603 | Last modified 1/23/2013 1:29 am by jarrad407561 | 1054 views | 6 replies |

brentkeithtaylor415603

Checkout keeps failing

Hi,

I am trying to finalise a transaction with express checkout. I have everything set up correctly I think. I am using sandbox and I can initiate the transaction, I then log into my testing buyer account and proceed, it takes me back to the confirm page which is all filled out correctly from the token. It is when I press the Submit Order button on the pp_confirm.php page it ends up redirecting me to the pp_checkout_failure.php page.

Has anybody experienced this before and have any idea what it might be. Is there some way I can find out what error is occuring is there a log or something I can look through? I just end up on that page with no error messages or indications why. Could it perhaps be a setting I need to change in my sandbox accounts?

I am using ecart 4 and I am in Australia incase that makes a difference.

Sign in to reply to this post

Jason ByrnesWebAssist

on the failure page add the following code:

php:
<pre><?php @session_start(); var_dump($_SESSION); ?></pre>



this will write the contents of the session including the full request and full response from the gateway to help troubleshoot.


NOTE: The session contents will contain sensitive data that should be removed before posting here.

Sign in to reply to this post

brentkeithtaylor415603

From the error listed it would appear that it will not process due to the fact that the items price does not match the cart total.

Error Message - The totals of the cart item amounts do not match order amounts.10413Error2.203926908" }

I am in Australia so the Tax is included in the price. I followed TAX rule forum here and it would appear thats the reason why it does not work. Basically the add to cart button is static and set at $30. The ecart object Total Price calculation has been adjusted by adding *(1/1.1) on to the end of the calculation. GST (tax) has been set up as total number of unique items in the cart and > than 0 is selected. Calculation is set to based on the cart subtotal and then multiplied by 0.1.

For the cart to display correctly I have also added *1.1 to the totalprice ("TotalPrice")*1.1). I have done this both on the shopping cart and checkout pages.

So although the prices appear to match in the cart and everything displays perfectly paypal will not except it. If I remove the *(1/1.1) from the ecart object Price calculation the payment goes through but the amounts are totally wrong.

So how can I get the item amount to match the cart amount? have tried to use a formula in the add to cart button but it ignores it.

Any help would be great. Also does the new ecart include australian GST inbuilt as I may look at upgrading if it does.

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

jarrad407561

Hope you don't mind me adding my problems to this thread, but I have a similar problem in that the PP checkout keeps failing.
I am using the sandbox testing server; I have added the session echo to my failure page and I get:

["ECO_Process_Result"]=>
string(2254) "2013-01-22T12:03:48ZFailurecbaee1a559221Security errorSecurity header is not valid10002Error63.04181146"

I hope you can help me,
Regards,
Jarrad

Sign in to reply to this post

Jason ByrnesWebAssist

the error:
Security header is not valid

means that the API Credentials you entered are not correct.

The most common cause of that error is using Sand box API Credentials when sandbox mode is not enabled, or vice versa.

double check the API Credential that you entered.

NOTE: The API Username and password is not the same as your paypal account login. see the "Signing up with the PayPal payment gateway" tutorial on the learning resources page if you need more details:
tutorials.php

Sign in to reply to this post

jarrad407561

Awesome, thanks, I had sandbox true on all pages except pp_confirm.. Its working now, thanks :)

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