Forums / Addon Payment Modules / The end of Zen Cart in Europe? SCA kills payments

The end of Zen Cart in Europe? SCA kills payments

Views: 13,276

Results 1 to 20 of 40
15 Feb 2022, 12:44 PM
#1
hairydog avatar

hairydog

Zen Follower

Join Date:
Sep 2006
Posts:
165
Plugin Contributions:
0

The end of Zen Cart in Europe? SCA kills payments

Unless you are able to use PayPal (which proves unreliable for high volume sites) there doesn't seem to be any payment methods that are SCA compliant. Officially, that's not required until 14th March, but increasing numbers of card payments are being declined, seemingly due to lack of SCA.

This seems amazing, and I have to wonder whether Zen Cart has any future if such a major shortcoming can be ignored like this.

15 Feb 2022, 2:13 PM
#2
philibel avatar

philibel

Zen Follower

Join Date:
Mar 2008
Location:
Belgium
Posts:
120
Plugin Contributions:
3

Re: The end of Zen Cart in Europe? SCA kills payments

hairydog:

Unless you are able to use PayPal (which proves unreliable for high volume sites) there doesn't seem to be any payment methods that are SCA compliant. Officially, that's not required until 14th March, but increasing numbers of card payments are being declined, seemingly due to lack of SCA.

This seems amazing, and I have to wonder whether Zen Cart has any future if such a major shortcoming can be ignored like this.

:huh:

I'm using PayPal. So does my hosting provider and many other bigger companies. They even give better percentages when your volume is bigger. Perhaps they're no so easy for businesses which fail to provide the necessary permits. I don't know as our is verified by them ... and the tax department. :down:
Debit bank card, local services like iDeal (NL), Banksys (BE) etc. go though PayNL

I'm even using them under no service, no pay conditions as they only deduct a fee per payment.

I don't have any benefit from this but this is the site of the latter: https://www.pay.nl/en/packages/pioneer
Their plugin on GitHub works for all ZC 1.5.X and I'm using it on ZC 1.5.7c under PHP 7.4
The free package is available for businesses in Belgium, France, Germany, Italy, Luxembourg, The Netherlands and Spain. Other countries have to take at least the Business pack which costs € 50 per month.
"Excessive use" for the free package is more than 100 calls per 60 seconds. :shocking: (starts dreaming of an office at a tropical beach)
Again no registered business, no service. :sadwalk:

15 Feb 2022, 2:34 PM
#3
hairydog avatar

hairydog

Zen Follower

Join Date:
Sep 2006
Posts:
165
Plugin Contributions:
0

Re: The end of Zen Cart in Europe? SCA kills payments

The problem with PayPal is technical. A small percentage of payments time out. It was worse early in the pandemic, but it never went away. The sites I'm talking about have a high turnover and got an extremely good rate from PayPal, but they were losing sales due to the timeouts.
These are UK based stores, selling in pounds sterling. Typically between £80 and £2,000 per order.

15 Feb 2022, 3:24 PM
#4
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,876
Plugin Contributions:
7

Re: The end of Zen Cart in Europe? SCA kills payments

As far as I see it,
customer chooses a payment method,
confirms order,
gets redirected to a SCA-compliant payment gateway,
pays/gives a blood sample or whatever the bank demands,
gateway tells ZC about it,
order is registered.

I don't see the problem for Zen Cart, or am I missing something?

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

15 Feb 2022, 7:18 PM
#6
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: The end of Zen Cart in Europe? SCA kills payments

Mark, the Square fix you linked to is no longer available - would you be able to PR the fix or make a new zip available?

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

15 Feb 2022, 10:31 PM
#7
philibel avatar

philibel

Zen Follower

Join Date:
Mar 2008
Location:
Belgium
Posts:
120
Plugin Contributions:
3

Re: The end of Zen Cart in Europe? SCA kills payments

Time out?

  • They changed their mind
  • Balance problems
  • Tried a "found" CC
  • Human hack research
16 Feb 2022, 11:44 AM
#8
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: The end of Zen Cart in Europe? SCA kills payments

brittainmark:

You can use Square as long as you add the fix https://www.zen-cart.com/showthread.php?222449-Square-Payment-Module-for-Zen-Cart-Support-Thread&p=1381277#post1381277

Would be really useful to get this added to the core.

Done. Pull request #4624 this have been done against 1.5.8 stream but i do not think it has changed since 1.5.7
Currently in my git hub as brittainmark:Square_SCA_Compliance
You will need the following files
/includes/modules/pages/checkout_payment/jscript_square.php
/includes/modules/payment/square.php
overwrite the originals and it should work.

Please note: This was done by @Rocketsites and @Congerman

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

16 Feb 2022, 2:18 PM
#9
waynestephens avatar

waynestephens

New Zenner

Join Date:
Aug 2009
Posts:
48
Plugin Contributions:
0

Re: The end of Zen Cart in Europe? SCA kills payments

Hi guys, I just made the changes to my site's square module, using the 2 files from brittainmark's git hub. However I'm having the same problem as MrPix in this thread: after entering card details, clicking "continue" does nothing.

I get an error log as follows:

PHP Warning: Undefined array key 0 in .../store/includes/modules/pages/checkout_payment/jscript_square.php on line 39

line 39 is:

locationId: '<?php echo $location[1][0]; ?>',

Removing the changes, the module works fine, but obviously no SCA prompt.

I am using zen cart 1.5.7c and PHP 8.0.

20th Century Glass - Antique & Collectable Glass Store

16 Feb 2022, 3:20 PM
#10
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: The end of Zen Cart in Europe? SCA kills payments

Do you have locations defined on your square account?
In zen cart in configuration table my MODULE_PAYMENT_SQUARE_LOCATION = Inner Light Crystals:[xxxxxxxxxxxxx]:GBP
where xxxxxxxxxxxxx is the square location id of my online store.

You can check your value using sql -

SELECT * FROM configuration WHERE configuration_key = MODULE_PAYMENT_SQUARE_LOCATION

if you use a prefix you will need to add it e.g. configuration = zen_configuration

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

16 Feb 2022, 3:30 PM
#11
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: The end of Zen Cart in Europe? SCA kills payments

If you want to check you have locations set up.

If you go to admin>modules>payment
Select Square then edit and change the location ID.
You should get a list of the location you have set up on Square.
Select the one that represents your online store and save the changes.

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

16 Feb 2022, 6:08 PM
#12
waynestephens avatar

waynestephens

New Zenner

Join Date:
Aug 2009
Posts:
48
Plugin Contributions:
0

Re: The end of Zen Cart in Europe? SCA kills payments

I guess I don't...looking in the configuration table, when I search for MODULE_PAYMENT_SQUARE_LOCATION under "configuration_key", in the result, "configuration_value" is empty. Is that where I am looking? I'm not sure what to put in there.

I found my 13 digit Location ID in my Square account settings, and tried putting that into the "configuration_value" field, in the format you showed, (in my case, "20th Century Glass:[xxxxxxxxxxxxx]:GBP", but I still have the same problem. Just in case I misunderstood something (very likely) I also tried adding just the 13 digit Location ID, without the other bits, but still no luck.

20th Century Glass - Antique & Collectable Glass Store

16 Feb 2022, 6:10 PM
#13
waynestephens avatar

waynestephens

New Zenner

Join Date:
Aug 2009
Posts:
48
Plugin Contributions:
0

Re: The end of Zen Cart in Europe? SCA kills payments

brittainmark:

If you want to check you have locations set up.

If you go to admin>modules>payment
Select Square then edit and change the location ID.
You should get a list of the location you have set up on Square.
Select the one that represents your online store and save the changes.

I tried this, but I only have 1 location in the drop down list (20th Century Glass).

20th Century Glass - Antique & Collectable Glass Store

16 Feb 2022, 6:11 PM
#14
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: The end of Zen Cart in Europe? SCA kills payments

try using zencart admin to set it

admin>modules>payment
Select Square then edit and change the location ID.
You should get a list of the location you have set up on Square.
Select the one that represents your online store and save the changes.

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

16 Feb 2022, 6:14 PM
#15
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: The end of Zen Cart in Europe? SCA kills payments

is it selected?
when you select it it should update when you save. Then you will get the full string displayed including the location id

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

16 Feb 2022, 6:18 PM
#16
waynestephens avatar

waynestephens

New Zenner

Join Date:
Aug 2009
Posts:
48
Plugin Contributions:
0

Re: The end of Zen Cart in Europe? SCA kills payments

It was already selected, but I selected it again and saved anyway, and it did update, it now says: "20th Century Glass:[xxxxxxxxxxxxx]:GBP"

So that part is fixed. However I still have the same problem when clicking continue after entering card details (nothing happens).

20th Century Glass - Antique & Collectable Glass Store

16 Feb 2022, 6:25 PM
#17
waynestephens avatar

waynestephens

New Zenner

Join Date:
Aug 2009
Posts:
48
Plugin Contributions:
0

Re: The end of Zen Cart in Europe? SCA kills payments

UPDATE - So I refreshed things a few times and tried again, this time it got a bit further - I had a popup asking me to approve the payment via my banking app, I did that, all went fine, clicked the button on the popup to say I had approved via the app. The popup went away, but I was still on the same page where we enter card details. So I tried to click "continue" again, but nothing happens...

20th Century Glass - Antique & Collectable Glass Store

16 Feb 2022, 6:37 PM
#18
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: The end of Zen Cart in Europe? SCA kills payments

Can you check that you do not have and error files in your logs directory.

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

16 Feb 2022, 6:56 PM
#19
waynestephens avatar

waynestephens

New Zenner

Join Date:
Aug 2009
Posts:
48
Plugin Contributions:
0

Re: The end of Zen Cart in Europe? SCA kills payments

When the checkout_payment page loads, before I enter any card details, I get a deprecated log file about paypal, the other payment module I have installed. No other log files are generated during or after entering card details, clicking the button on the popup, or clicking continue again once the popup has gone.

20th Century Glass - Antique & Collectable Glass Store

16 Feb 2022, 7:13 PM
#20
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: The end of Zen Cart in Europe? SCA kills payments

I have put the original 1.5.7 versions of the files that I downloaded on my site at https://inner-light.co.uk/square.zip

Try these! If that works then I must have copied something incorrectly to the 1.5.8 version. OR something else has changed.

If not then as I did not write the original I am at a loss.

I might have some time tomorrow to set up a developer sandbox and test enviroment to see if I can see what is happening.

Mark Brittain
http:\innerlightcrystals.co.uk\sales\