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

PPal Express error on checkout

Thread began 7/29/2013 2:48 pm by massimo173451 | Last modified 7/30/2013 2:56 pm by massimo173451 | 918 views | 14 replies |

massimo173451

PPal Express error on checkout

On web site, choosing the product free of charge (zero cost) or with payment in the cart, on checkout with PPal express the transaction fail, and is not asked the user authentication why (the payment gateway, in the Admin page, are only:PP Express Only, PP Payment Pro,Authorize.net)??? The PS version is 4.5.3, the web site tessyacconciature.it

Sign in to reply to this post

Jason ByrnesWebAssist

In the admin section enable debug mode, that will help us determine the response from paypal express to see why it failing.

Sign in to reply to this post

massimo173451

just enabled

Sign in to reply to this post

Jason ByrnesWebAssist

ok, so what is the response?

do you have a link where i can see the problem?

Sign in to reply to this post

massimo173451

Try yourself, add a product ( eg.:photo) to the cart for reproduce the error (note when go to the payment the page doesn't ask the user authentication):
try this link: http://www.tessyacconciature.it/products_results.php

Sign in to reply to this post

Jason ByrnesWebAssist

The response back from paypal is:

Security error
Security header is not valid

This means there is a problem with the API Credentials you entered. it may be that you used LIve ApI Credentials, but the store is set to use the sand box, or vice versa, or it may be that you have not accepted the API Billing agreement with paypal.

Sign in to reply to this post

massimo173451

Jason, I have created the API credential and works fine when in the cart have a product to puchase, but when insert in the cart a free product (digital product) get the error "2013-07-30T11:50:44ZFailuree76b4d2fb0b50Invalid DataThis transaction cannot be processed. The amount to be charged is zero.10525Error63.07066343" ["WA_HTTPS_Redirect"]=> int(0) }. This error is in debug mode, and modified the code in process_transaction.php:

if($WA_Store_Cart->GrandTotal() == 0) $WAGLOBAL_Test_Mode = true;
if ($WAGLOBAL_Test_Mode != true) {
?>

but the transaction with PPal is not by passed, if in the cart have a free product (zero cost). Have you a further suggestion??? Thank you

Sign in to reply to this post

Jason ByrnesWebAssist

add that code to the webassist/plugins/shopping_cart/pp_expressform.php file.

Sign in to reply to this post

massimo173451

Jason, where I can add the code??? Receive a syntax error

Sign in to reply to this post

Jason ByrnesWebAssist

my applogies, this line:
if($WA_Store_Cart->GrandTotal() == 0) $WAGLOBAL_Test_Mode = true;

should be in the webassist/plugins/shopping_cart/cart_editable file.


change:
<?php
$WA_Store_Cart->GetContent();
?>

to:
<?php
$WA_Store_Cart->GetContent();
if($WA_Store_Cart->GrandTotal() == 0) $WAGLOBAL_Test_Mode = true;
?>

Sign in to reply to this post
loading

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