close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PayPal Express Not Working

Thread began 5/17/2012 11:46 pm by info401175 | Last modified 5/21/2012 11:15 am by Jason Byrnes | 772 views | 4 replies |

info401175

PayPal Express Not Working

Hi,

I have set up PowerStore for one of my clients and have set up a PayPal Express API.

I have entered in all the correct details under the gateway settings in the admin, but when you add a product to the cart then click pay using PayPal, nothing happens. The link doesn't take you to the PayPal page, i am left on the cart page.

Can someone please help me with this?

Sign in to reply to this post

info401175

I am also getting these errors in my log file.

PHP Notice: Undefined variable: Taxes in /var/www/vhosts/domain.com.au/httpdocs/webassist/plugins/shopping_cart/cart_editable.php on line 135

PHP Warning: mysql_free_result() expects parameter 1 to be resource, null given in /var/www/vhosts/domain.com.au/httpdocs/webassist/plugins/shopping_cart/cart_editable.php on line 135

Sign in to reply to this post

Jason ByrnesWebAssist

in the webassist/plugins/shopping_cart/pp_expressform.php file, change the following code:

php:
if (isset($_POST['PayPal_ExpressCheckout_button']))  {



to:

php:
if (isset($_GET['ExpressCheckout']) || ($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST))





in the webassist/plugins/shopping_cart/cart_editable.php file, i think you can comment out line 135 to prevent the error in the logs:

php:
//mysql_free_result($Taxes);
Sign in to reply to this post

info401175

Hi Jason,

Still no luck with the code replacement...anyway i could get someone at webassist to have a look at this?

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

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