close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

eCart doesnt work in other countries :(

Thread began 7/09/2012 5:32 am by Christopher West | Last modified 7/11/2012 10:12 am by sam308940 | 1581 views | 6 replies |

Christopher WestCommunity Expert

eCart doesnt work in other countries :(

Hi there, I just been contacted by my client who has informed me that their customers in the USA cannot place orders on the website I developed (my client is a UK based company) and I used PayPal Express for the payment system in eCart. I have been informed that they get a lot of emails (which are automatically sent to them if a customer of theirs gets redirected to the websites "failure.php" page. this seems to be any customers in the USA (I have checked and one of their Australian customers has successfully placed an order on the website) So not sure why UK and Australian customers can successfully place orders, but USA customer cannot....Im attaching the "checkout.php" and the "confirm.php" pages, perhaps you can see something I have missed in the coding. would be grateful as always for the help :)

regards

Chris

Attached Files
payment.zip
Sign in to reply to this post

Jason ByrnesWebAssist

can you reproduce the problem if you use an american billing / shipping address?

if so, add the following code to the failure page:

php:
<pre><?php @session_start(); var_dump($_SESSION); ?></pre>



This will write the session contents which will contain the response from the gateway to help us see what is wrong.

NOTE: The session contents will contain sensitive information that should be removed before posting here.

Sign in to reply to this post

sam308940

hi - i dont know if i know the issue, but a quick thought was if you are using USA as the country code or US. i got tripped up on this one time and it does cause orders to fail.

Sign in to reply to this post

Christopher WestCommunity Expert

Hi Jason will do as you suggested (a side note is that I heard the customer had used a credit card as payment on the paypal website (without logging into a paypal account) But I am under the impression that on the paypal website you can do this without loggin in.

@Sam..I am using country codes. how did you resolve it?

another side note: obviously its set up to send a failure email to the client if a transaction goes wrong and the contents of that failure email are taken from session variables..now when the client gets these failure emails the dynamic content doesnt display (ie the session variables arnt passing to the failure email...yet the american customer their failure email did contain the dynamic content from their session variables) not sure if this is relevant in problem solving?

Sign in to reply to this post

Christopher WestCommunity Expert

Hi Jason, im not sure if I can do a real test (since im in the UK and on paypal I would need to put my uk address that matches my credit card...I did do a test where on the website I used an american address (for both billing/delivery) (i used webassist address details as a test) i then got directed to paypal (it had already entered the card details address as the one i entered on the website so i had to change that to a uk address to match my credit card...i then clicked on continue and it redirected me back to the website confirm page (however i had to manually type in the url for the failure page (since my first test was a success so now my second test i wanted to see what session variables are shown on the failure page)...so here they are:

array(57) {
["waue_failure_1_Total"]=>
int(0)
["waue_failure_1_Index"]=>
int(0)
["waue_failure_1_Remaining"]=>
int(0)
["waue_failure_1_Log"]=>
string(57) "Sending To: sales@dinkyfingerprint.co.uk... Success
"
["waue_failure_1_From"]=>
string(60) "The Dinky Fingerprint Website "
["waue_failure_1_To"]=>
string(28) "sales@dinkyfingerprint.co.uk"
["waue_failure_1_Subject"]=>
string(26) "Order Failure Notification"
["waue_failure_1_Body"]=>
string(2988) "
--WAMULTIBREAKWA
Content-Type: text/plain
Content-Transfer-Encoding: 8bit



The Dinky Fingerprint Company
WEB: www.dinkyfingerprint.co.uk
Email: sales@dinkyfingerprint.co.uk
Telephone: 01628 623386


An order has been rejected by the website
Customer Details
Mr. Christopher West
6815 Flanders Drive
Suite 100
San Diego, CA,
92121. US

Email: designerwest@live.co.uk
Phone Number: 888.490.1545
Mobile Number:

--WAMULTIBREAKWA
Content-Type: text/html


obviously my first test using an american address was a success so not sure if this was because i had to enter my uk address for my credit card details on paypal website...in other words...is the failure coming from a trigger from the paypal website? and perhaps this trigger failure doesnt exist since i had to enter my uk address fro credit card details (even though i had still entered an american address on the main website for both billing and delivery) perhaps that part of the process doesnt matter on the paypal website...so im thinking its the paypal side of things thats screwing up but i cannot test that as im not physically in american and so dont own an american type credit card to test properly :(

any suggestions or thoughts? is there something that needs to be changed in my clients paypal account for international orders? on the past files i provided is there anything in the paypal express code snippet that could prevent amercian orders (even though australian orders work)...its odd.

Chris

Sign in to reply to this post

Jason ByrnesWebAssist

Without being able to reproduce the problem it is impossible to tell what the cause is.

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

sam308940

my particular issue was i was submitting US code as USA. it would decline.
once i change my code to US it accepted them.
so just check that to make sure its not something that simple.

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