close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

paypal failing

Thread began 5/08/2015 4:13 pm by Michael | Last modified 5/11/2015 5:18 pm by Ray Borduin | 782 views | 3 replies |

Michael

paypal failing

While trying to test my live cart I make it into paypal but when I click through all the options in the paypal cart, set billing address and billing method, I then try to finalise the order and it always returns to my checkout_failure.php page.

website can be seen and tested at http://thehighroadcyclingcompany.ch

please let me know if you need anything else.

Sign in to reply to this post

Ray BorduinWebAssist

Try adding this to your failure page:

php:
<?php

@session_start();
var_dump($_SESSION);
?>



That will display more information about the failure including the exact error message which should shed some light on what is causing it.

If you need help diagnosing the result let me know and I can take a look.

Sign in to reply to this post
Did this help? Tips are appreciated...

Michael

Thanks,
The error is

Failure8520a248875ecTransaction refused because of an invalid argument. See additional error messages for details.The transaction currency specified must be the same as previously specified.10444Error63.016619266" }

I set the currency for my cart to CHF in the lines

$WA_PP_ECO_Set_params[1][$nextIndex] = "CHF";

within the confirm.php and

// eCart Language Pack [En]
$bikecart = new bikecart_Definition("bikecart", 0, "CHF", "", true, 2, 2, "kg", true, 2, 1, 0, array(array("ID","N"), array("Name","T"), array("Description","T"), array("Thumbnail","T"), array("Weight","W"), array("Quantity","N"), array("Price","C"), array("Category",""), array("Stock","")));

within bikecart_PHP.php

Is there somewhere else I also need to update the currency?

Sign in to reply to this post

Michael

Actually,
I just updated the line

$WA_PP_ECO_Do_optional[1][$nextIndex] = "CHF";

in the pp_confirm.php file as well and now it all works.

Thanks for your time on this.
A suggestion is that more native currency support could be helpful but thanks for the great product.

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