If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Payment Modules / Porting Payment Modules from other carts

Porting Payment Modules from other carts

Started by torvista on 18 Jan 2023, 9:45 AM · Views: 1,188

Results 1 to 3 of 3
18 Jan 2023, 9:45 AM
#1
torvista avatar

torvista

Totally Zenned

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

Porting Payment Modules from other carts

Given the decline in ZC, payment providers generally do not offer a module for Zen Cart.
They may offer for Magento, Prestashop, Opencart, Woocommerce, Virtuemart, OsCommerce, Drupal Commerce, Shopify...

Evidently osCommerce would be the most obvious starting point, but after that?

...anyone got some experience to offer as to what platform may be the most "understandable" for a ZC user to modify?

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

19 Jan 2023, 12:33 AM
#2
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
433
Plugin Contributions:
0

Re: Porting Payment Modules from other carts

One to try is SecurePay Payment Gateway also known as SecurePay XML [ https://www.zen-cart.com/downloads.php?do=file&id=2144&styleid=2 ]
The latest is in my GitHub [ https://github.com/OldNGreyBMR/securepay-xml ] and it works with ZC158 and PHP 8.1

I have found that I have only had to make minor updates from the original code to keep it working.

OldNGrey
Prod: Zen Cart 157d; Apache 2.4.41; PHP 7.4.3; MySQL 8.0.27; Ubuntu 5.4.0
Dev: environment Pre-prod: Zen Cart 158; Apache 2.4.47; PHP 8.1.9; MySQL 10.4.17-MariaDB Windows NT 10.0 AMD64

OldNGrey
ZC222 PHP 8.4.27
MySQL 11.8.5-MariaDB

19 Jan 2023, 9:43 PM
#3
torvista avatar

torvista

Totally Zenned

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

Re: Porting Payment Modules from other carts

Thanks but I am not asking what payment provider to use, I'm spoilt for choice on that.
I'm asking if given a selection of pre-built modules by that provider, what would be the most understandable/better starting point for building my own module.

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