Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Code Matters / Bug Reports / [Done v1.3.9g] Some one got around my Shipping to the UK only store

[Done v1.3.9g] Some one got around my Shipping to the UK only store

Locked
This thread is locked. New replies are disabled.
1 Sep 2010, 8:36 PM
#1
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Post #1 by soul39

Hi, everyone.
This is an unusual one, someone from the USA managed to create an account, place an order and pay for it using PayPal, in my UK only store, How?
All the research i've done in the forum, says to remove the countries that you do not want to post to, I did that.

The only way i can see that happening is if the customer selects the
" please choose your country" .doing this, brings up an input box where the STATE/PROVINCE can be entered. How can this be prevented?

Even if an account was created, this customer should not have been allowed to checkout, should they? They must have entered a valid County name. (cunning). All so they can get cheap postage. Or is there something else going on here? Help. How do i proceed?

Thanks in advance for your assistance

Soul39
http://www.k-craftteddies.co.uk

1 Sep 2010, 9:32 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

I'm not sure how they got around it: I don't have enough details to attempt to recreate the situation, but that's something you need to do. Find out exactly how they did it. You have the details of what they entered, so you should be able to replicate the situation.

The only way they can select "USA" as a country is if you've offered it to them.

Plus, you don't have to actually ship the order. You can contact them and sort out whatever they were trying to do, and then decide whether they'll send you more money for the extra shipping costs, or simply refund their purchase with a friendly note saying that you're unable to ship to their country at this time. In the course of the conversation you have with them you'll be able to also attempt to ascertain whether they're legitimate or attempting fraud ... that's a handy side-benefit of personal contact.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Sep 2010, 11:29 PM
#3
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Post #3 by soul39

Hi, DrByte,
thank you for your prompt reply.
I have have just looked at the customer details in admin, and it's blank. No details, so no account was created, I am puzzled!
Could she have used PayPal and not have to create an account? That is another one of my theory.
Is there a way to prevent this from happening?

I will contact the customer and explain the situation.

BTW i am still on 1.3.8

Many thanks
Soul39

2 Sep 2010, 2:29 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 by drbyte

Um ... you said you got an order, for an address which says USA.
But then you said you looked in your admin at the customer details and that the address is blank. And then you said no account was created. But, if you're looking at the customer record, then that is an account.

I think I'm more puzzled than you are.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Sep 2010, 9:28 AM
#5
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Post #5 by soul39

Hi, DrByte, You are right! the reason why i thought there was nothing there, was i could not select it to view it. I get this;

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/kcraftte/public_html/xxxx/customers.php on line 1099

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/kcraftte/public_html/xxxx/customers.php on line 1101

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/kcraftte/public_html/xxxxx/includes/classes/object_info.php on line 29

Warning: Variable passed to each() is not an array or object in /home/kcraftte/public_html/xxxx/includes/classes/object_info.php on line 30

2 Sep 2010, 9:36 AM
#6
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Post #6 by soul39

But if i go into ORDERS, there is an address, but not all the fields are filled in, only Address street, city, state and zip.

Many thanks
Soul39

2 Sep 2010, 9:49 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #7 by drbyte

Okay, so I'm guessing that the customer used PayPal Express Checkout and chose their US address at PayPal, before returning back to your store where the account was created. And, since you deleted all the countries from it, your store doesn't have any countries left for it to match to, it couldn't match up the country, and thus left it blank.

I would suggest that you create a Zone Definition for UK-Only, and add "United Kingdom" - "All Zones" to it. Then edit your EC module to set the Payment Zone to your UK-Only zone. That way when customers choose addresses outside that zone they should be advised that they must select another payment method or choose another shipping address.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Sep 2010, 10:15 AM
#8
natty avatar

natty

New Zenner

Join Date:
Dec 2008
Posts:
65
Plugin Contributions:
0

Post #8 by natty

This happened to me in my early days of Zencart. I removed the countries I didn't want to ship too but someone in the USA used Express Checked to create an account. I found that the details were missing from the address in admin but when I added USA as a country the details came into admin from the db. Hope this helps.

Natty

2 Sep 2010, 6:31 PM
#9
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Post #9 by soul39

Good evening, DrByte, I think i already have a UK-Only Zone def. that has all the counties in the United kingdom.

Just to be sure i will check.
What is the EC module and what exactly do i do to it?

Natty, how did you manage solve it? Or, do you just live with it?

Many thanks for your help
Soul39

2 Sep 2010, 6:52 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #10 by drbyte

EC = "Express Checkout"

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Sep 2010, 8:11 PM
#11
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Post #11 by soul39

:oops: should have know that. Thanks.

I will have a look at the settings in EC, see if i can figure it out.
Be on standby, i may need some help.

Soul39

3 Sep 2010, 10:31 AM
#12
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Post #12 by soul39

DrByte, Help!
I've looked at the EC module and i am not sure where to start.
PAYMEN ZONE; is set to none. I should change that to the zone as you suggested?
The only thing is, there are two possibilities. ( UK Tax or UK Mainland) UK Tax has 1 zone, country is UK and Zones: all zones.

UK mainland has 99 zones, country ;Uk and zones are the 99 counties.
Which one do i use?

Also here are some other settings that i am not sure of.
EC: require confirmed address, set to NO.
EC: select cheapest shipping automitically, set to yes.
EC: skip payment page, set to yes.
EC: automatic account creation , set to yes.
Payment action, set to final sale.
paypal page style, set to primary
Soul39- thanks in advance.

3 Sep 2010, 2:08 PM
#13
natty avatar

natty

New Zenner

Join Date:
Dec 2008
Posts:
65
Plugin Contributions:
0

Post #13 by natty

Soul39:

Natty, how did you manage solve it? Or, do you just live with it?

Hi Soul39,

Yes I managed to solve the address not being in the admin by adding USA back into the database. I didnt get an order from this person so dont know if they were disallowed by my shipping settings.

Regards
Natty

3 Sep 2010, 3:17 PM
#14
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Post #14 by soul39

Hi, Natty,
did you have to edit the settings in your EC module?
If you only ship to the UK why add the USA?
I am still working on it! Thanks for your support.

Soul39

3 Sep 2010, 6:34 PM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #15 by drbyte

Soul39:

PAYMEN ZONE; is set to none. I should change that to the zone as you suggested?
The only thing is, there are two possibilities. ( UK Tax or UK Mainland) UK Tax has 1 zone, country is UK and Zones: all zones.

UK mainland has 99 zones, country ;Uk and zones are the 99 counties.
Which one do i use?The correct answer is: whichever one produces the desired end result.
I'm gonna guess that the one set up as I described earlier would be best: country=UK with Zones=all zones.
Soul39:

Also here are some other settings that i am not sure of.
EC: require confirmed address, set to NO.
EC: select cheapest shipping automitically, set to yes.
EC: skip payment page, set to yes.
EC: automatic account creation , set to yes.
Payment action, set to final sale.
paypal page style, set to primary
Those are all optional. Set them as you wish according to your needs. If you've got no reason to change them, then don't.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Sep 2010, 7:45 AM
#16
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Post #16 by soul39

i will make the change this morning, and i will be very grateful if you could test it to see if it works, please.

Thanks in advance for you assistance.
Soul39
http://www.k-craftteddies.co.uk

8 Sep 2010, 4:10 AM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #17 by drbyte

Soul39:

Hi, everyone.
This is an unusual one, someone from the USA managed to create an account, place an order and pay for it using PayPal, in my UK only store, How?
All the research i've done in the forum, says to remove the countries that you do not want to post to, I did that.

The only way i can see that happening is if the customer selects the
" please choose your country" .doing this, brings up an input box where the STATE/PROVINCE can be entered. How can this be prevented?

DrByte:

Okay, so I'm guessing that the customer used PayPal Express Checkout and chose their US address at PayPal, before returning back to your store where the account was created. And, since you deleted all the countries from it, your store doesn't have any countries left for it to match to, it couldn't match up the country, and thus left it blank.

Moving this thread to Bug Reports section so consideration can be given to ways to prevent the problem in the future.
*
NOTE: a fix will be in v1.3.9g*

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

10 Sep 2010, 2:44 AM
#18
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Post #18 by countrycharm

DrByte:

EC = "Express Checkout"

I have one for you DrByte. I had a customer from Nordrhein-Westfalen Germany create an account, place an order and checked out. All there info is in there account, name address etc. I don't ship anywhere except US, Canada, and GB. I offer paypal for payment and free shipping for orders of $175.00 and over. I don't know how they did that. I'm using Zen cart version: 1.3.9f

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

10 Sep 2010, 4:58 AM
#19
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #19 by drbyte

The original poster in this thread is using PayPal Express Checkout.
Same advice applies: Restrict your module to a zone that encompasses the locations from which you are willing to accept payment.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

10 Sep 2010, 11:19 AM
#20
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Post #20 by countrycharm

DrByte:

The original poster in this thread is using PayPal Express Checkout.
Same advice applies: Restrict your module to a zone that encompasses the locations from which you are willing to accept payment.

Restrict your module to a zone that encompasses the locations from which you are willing to accept payment.
I'm assuming your are talking about going to my PayPal account to do that.

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation