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

ppadvforward.php checkout_success php hangs

Thread began 8/09/2014 3:56 pm by cal114936 | Last modified 8/18/2014 4:20 pm by cal114936 | 1352 views | 12 replies |

cal114936Beta Tester

ppadvforward.php checkout_success php hangs

Hi,

Set up eCart store last year using PayPal. It has been functioning fine. Client asked to add clothing sales with sizes and colors.

I used the tutorial on this site to set it up. http://www.webassist.com/tutorials/Add-dynamic-product-options-I-eCommerce-Series

The cart works fine. The payment processes through PayPal and after processsing the pages forwards to webassist/ecart/checkout/ppadvforward.php and stays there. It does not move to checkout_success.php even though the payment processed.

I changed the lines in webassist/framework/javascript/ajax.js file to setTimeout("window.WADFP_jQuery.unblockUI()",800); from setTimeout("window.WADFP_jQuery.unblockUI()",200); But it still hangs on ppadvforward.php

Any ideas?


Thanks,

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

cal114936Beta Tester

Please see PM

Sign in to reply to this post

Jason ByrnesWebAssist

in the rsSizeLookup recordset, both the paramOption and paramItem variables are set to use:
$_POST['eCart1_1_ID_Add']

as the run time value.

The run time value for paramOption should be:
$_POST['eCart1_1_size_Add']

Sign in to reply to this post

cal114936Beta Tester

Jason,

Changed it. The products detail page works fine now. Thanks. But it now is back to the original problem... after completing the transaction it hangs at /webassist/ecart/checkout/ppadvforward.php and not going the checkout_success.php. I sent the FTP info earlier.

Thanks

Sign in to reply to this post

cal114936Beta Tester

It appears that only the transactions including the new product options are failing...

Sign in to reply to this post

Jason ByrnesWebAssist

1) using paypal advanced as the gateway, you need to implement SSL on your site and access the checkout using the HTTPS address

2) Where you are using options that effect the price, you need to edit the code that passes the transaction information to paypal to use the truePrice calculation intsead of passing the price.

in the webassist/ecart/PP_PayAdv_PHP.php file, change:
$vars[] = 'L_AMT' . $item_count . '=' . urlencode(number_format($cart->DisplayInfo("Price"), 2, '.', ''));

to:
$vars[] = 'L_AMT' . $item_count . '=' . urlencode(number_format($cart->DisplayInfo("truePrice"), 2, '.', ''));

Sign in to reply to this post

cal114936Beta Tester

Hi Jason,

It still hangs up on webassist/ecart/checkout/ppadvforward.php

Sign in to reply to this post

Jason ByrnesWebAssist

1) using paypal advanced as the gateway, you need to implement SSL on your site and access the checkout using the HTTPS address

Sign in to reply to this post

cal114936Beta Tester

It is using ssl. It has been working fine for the last 6 months. When I added the options it is now not forwarding to checkout_success.php. We have ssl and I updated the line in cart.php

$ATC_RedirectAfter = "https://hotvws.com/cart.php";

It appears that everything is using ssl as it goes through the transaction.

The page it was hanging on was ssl too. webassist/ecart/checkout/ppadvforward.php

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