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

Paypal Express Checkout

Thread began 3/31/2010 7:35 pm by jebrandon343719 | Last modified 4/09/2010 5:52 pm by jebrandon343719 | 1648 views | 11 replies

Eric Mittman

I think that I can see both issues when I check on your checkout page. The error you are getting is letting you know that the currency code is not set correctly. Rite now on line 119 you have it set to AU, it needs to be set to AUD to work properly. Here is a link to the currency codes that PayPal uses:

e_howto_api_nvp_currency_codes

As for the issue with it not going directly to PayPal when you click on the button from your cart page this is occurring because the trigger on your checkout page for the Express Checkout is not setup correctly. Have you modified the Authentication for PayPal Express Checkout server behavior that is on this page? The reason I ask is because your trigger for this server behavior does not look like the one that is on my default page. On your checkout page you should update what is currently on line 101 with this line of code:

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))  {



This should make it so you go directly to PayPal when you click on the checkout button from the cart page. I also removed your posted files as they contained some info about your PayPal account.

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