Zen Cart Logo
Forums / Addon Payment Modules / Stripe.com payment integration module

Stripe.com payment integration module

Views: 233,168

Results 221 to 240 of 679
31 Jan 2022, 5:12 PM
#221
zoloworld avatar

zoloworld

New Zenner

Join Date:
Jul 2011
Posts:
35
Plugin Contributions:
0

Stripe.com payment integration module

niccol:

Not sure that this is a supported module really so make your own choices as to using it. But ....

The issue for me was that in most templates the fields that the module adds are not actually in the form. So, the <inputs> are not inside the <form> . Solving that problem solved the issue.

It is in tpl_checkout_confirmation_default.php and you probably, depending on your template want to be moving the line:

echo zen_draw_form('checkout_confirmation', $form_action_url, 'post', 'id="checkout_confirmation" onsubmit="submitonce();"');


Were you able to get this to work? I am also having an issue of PCI Compliance. 

The processor works on my site but it is an outdated version according to my stripe dashboard. Thanks in advance!
17 May 2022, 7:20 PM
#222
lindabon avatar

lindabon

New Zenner

Join Date:
May 2022
Posts:
12
Plugin Contributions:
0

Re: Stripe.com payment integration module

Hi,
I've just done a clean install of v1.5.7d and added the Stripe payments plugin. Everything seems to be working except the Stripe payments module. I've unzipped the files and uploaded them to my /(storename)/includes/ but when I go to Admin - Modules - Payment there is no way to install Stripe. A blank line appears where Stripe should appear, and when I click on the blank line and then on “+Install Module” it goes to the installation option for Authorize.net and nothing else happens.

I've installed Stripe in the past on an older site and it worked just fine, so I thought I knew what I was doing, but I guess not. :( What am I missing??

The site was uploaded via FTP and manual run of zc_install,
PHP Version: 8.0.2 (Zend: 4.0.2),
MySQL 8.0.28-0ubuntu0.20.04.3

Thanks for any and all help!

18 May 2022, 5:20 PM
#223
lindabon avatar

lindabon

New Zenner

Join Date:
May 2022
Posts:
12
Plugin Contributions:
0

Re: Stripe.com payment integration module

Please, does anyone have any ideas on how to fix this? I still haven't got it to work, and I have limited time to get it done. :(
I'll try to attach a screenshot of Admin - Payment Modules, see the blank line at the bottom where stripe should be.
Attachment 20003

18 May 2022, 6:02 PM
#224
ideasgirl avatar

ideasgirl

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,437
Plugin Contributions:
3

Re: Stripe.com payment integration module

I'm not knowledgeable on the subject, but did you try to change your PHP version to 7.4? I've experienced cart and checkout issues because of the PHP version.

18 May 2022, 6:02 PM
#225
lindabon avatar

lindabon

New Zenner

Join Date:
May 2022
Posts:
12
Plugin Contributions:
0

Re: Stripe.com payment integration module

I wonder if the problem is that the Stripe module is just too old to work properly with zc v1.5.7d? I'd be happy to contribute financially to someone updating it to work with the new version of zencart!!!

24 May 2022, 4:36 PM
#226
lindabon avatar

lindabon

New Zenner

Join Date:
May 2022
Posts:
12
Plugin Contributions:
0

Re: Stripe.com payment integration module

Hi Ideasgirl, sorry, I'm not sure if your post is a reply to mine - my webhost has updated their php version to 8. If I could stay with 7.4 I would, but that version will be end-of-lifed soon and I HAVE TO get zencart working with php 8 before then. So keeping 7.4 isn't an option much longer. :((

24 May 2022, 5:29 PM
#227
swguy avatar

swguy

Administrator

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

Re: Stripe.com payment integration module

PHP 7.4 doesn't go end of life until the end of November 2022, which gives you 6 months. If your hoster won't let you run PHP 7.4, move to another hoster.

24 May 2022, 5:47 PM
#228
lindabon avatar

lindabon

New Zenner

Join Date:
May 2022
Posts:
12
Plugin Contributions:
0

Re: Stripe.com payment integration module

Yes I know, November. I can run PHP 7.4 until then but after that I'm facing the same problem again :( so I'd love to get a longer-term fix.

25 May 2022, 12:22 AM
#229
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Stripe.com payment integration module

Could it be that your problems are related to PHOP 8.0.2?

Have you done the suggested fix at https://docs.zen-cart.com/user/troubleshooting/constant_already_defined/?

Do you get any log files when the module does not show?

26 May 2022, 4:11 PM
#230
lindabon avatar

lindabon

New Zenner

Join Date:
May 2022
Posts:
12
Plugin Contributions:
0

Re: Stripe.com payment integration module

Yes I have done the fix you linked to but it doesn't change the Stripe problem.
I get the following error messages in the log files whenever I try to do anything related to installing the Stripe module.
There is no file modules.php in my /home/[user]/[storetestURL]/[admin]/ directory, which the error logs refer to! Maybe that's the problem?

[26-May-2022 08:48:50 America/Los_Angeles] Request URI: /[admin]/index.php?cmd=modules&set=payment, IP address: 205.211.113.128
#1 require(/home/[user]/[storetestURL]/[admin]/modules.php) called at [/home/[user]/[storetestURL]/[admin]/index.php:11]
--> PHP Warning: Undefined property: stripepay::$sort_order in /home/[user]/[storetestURL]/[admin]/modules.php on line 251.

[26-May-2022 08:48:50 America/Los_Angeles] Request URI: /[admin]/index.php?cmd=modules&set=payment, IP address: 205.211.113.128
#1 require(/home/[user]/[storetestURL]/[admin]/modules.php) called at [/home/[user]/[storetestURL]/[admin]/index.php:11]
--> PHP Warning: Undefined property: stripepay::$sort_order in /home/[user]/[storetestURL]/[admin]/modules.php on line 257.

[26-May-2022 08:48:50 America/Los_Angeles] Request URI: /[admin]/index.php?cmd=modules&set=payment, IP address: 205.211.113.128
#1 require(/home/[user]/[storetestURL]/[admin]/modules.php) called at [/home/[user]/[storetestURL]/[admin]/index.php:11]
--> PHP Warning: Undefined property: stripepay::$sort_order in /home/[user]/[storetestURL]/[admin]/modules.php on line 274.

26 May 2022, 9:41 PM
#231
lindabon avatar

lindabon

New Zenner

Join Date:
May 2022
Posts:
12
Plugin Contributions:
0

Re: Stripe.com payment integration module

"There is no file modules.php in my /home/[user]/[storetestURL]/[admin]/ directory, which the error logs refer to! Maybe that's the problem?"

False alarm. The file IS there, it was just out of alphabetical order, that's why I didn't see it.
So I'm still stumped. :(

27 May 2022, 8:42 AM
#232
brittainmark avatar

brittainmark

Totally Zenned

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

Re: Stripe.com payment integration module

I think the issue is PHP 8 changing Undefined property from a notice to a warning.
You could try modifying line 27 in includes/modules/payment/stripe.php from

 $this->sort_order      = MODULE_PAYMENT_STRIPEPAY_SORT_ORDER;

to

 $this->sort_order      = defined(MODULE_PAYMENT_STRIPEPAY_SORT_ORDER) ? MODULE_PAYMENT_STRIPEPAY_SORT_ORDER : null;

and adding

public $sort_order;

after line 18

var $code, $title, $description, $enabled;

Sorry Don't use stripe so have not tested.

If this works, and you get another undefined, you can add in additional public lines as required. ** stripepay::$sort_order** add public $sort_order;

27 May 2022, 4:14 PM
#233
lindabon avatar

lindabon

New Zenner

Join Date:
May 2022
Posts:
12
Plugin Contributions:
0

Re: Stripe.com payment integration module

No change in the Stripe situation :( but the error log has now changed to an access-denied, as follows:

[26-May-2022 08:15:09 America/Los_Angeles] PHP Warning: mysqli_connect(): (HY000/1044): Access denied for user '[myuser]'@'208.113.128.0/255.255.128.0' to database 'ecommtest' in /home/[user]/[storetestURL]/includes/classes/db/mysql/query_factory.php on line 101

27 May 2022, 9:03 PM
#234
brittainmark avatar

brittainmark

Totally Zenned

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

Re: Stripe.com payment integration module

Check your configuration files. This is saying that you cannot access the database ecommtest.
This could be username and/or password incorrect in your configuration files.

28 May 2022, 10:01 PM
#235
lindabon avatar

lindabon

New Zenner

Join Date:
May 2022
Posts:
12
Plugin Contributions:
0

Re: Stripe.com payment integration module

The configure.php files are fine! User name and password are correct in both.
This error message began right after I changed the coding in the stripe.php file, and I didn't modify the user name and password at any time before or since. :(

31 May 2022, 6:44 PM
#237
lindabon avatar

lindabon

New Zenner

Join Date:
May 2022
Posts:
12
Plugin Contributions:
0

Re: Stripe.com payment integration module

The thing is, there is no error message anywhere but in the logs! And no changes were made to the user name or database or password that could account for it.

I think I'm going to forget about the Stripe module and go with a different credit card processor that doesn't require coding experience to make it work. :(

Thank you, dbltoe and brittainmark, for taking the time to try and help me with this issue. I do appreciate it very much! :thanks:

31 May 2022, 7:00 PM
#238
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Stripe.com payment integration module

Do what you will but, I still say it's a problem with PHP, your host's setttings or both.

1 Jun 2022, 3:45 AM
#239
lindabon avatar

lindabon

New Zenner

Join Date:
May 2022
Posts:
12
Plugin Contributions:
0

Re: Stripe.com payment integration module

It may well be! In any case the bottom line for me is that the Stripe module is no longer working the way it should, and I just don't have the know-how to locate the problem much less fix it. And since I won't be able to avoid PHP8 forever, I will just have to find a payment option that will work with it. Thank goodness all the rest of the cart works the way it's supposed to. :)

25 Aug 2022, 4:57 PM
#240
latsht avatar

latsht

Banned

Join Date:
Dec 2020
Location:
Burkina Faso
Posts:
16
Plugin Contributions:
0

Re: Stripe.com payment integration module

Installed, and configured the module. It showed this in the list of modules:
One of your Stripe API keys is missing.
Both my live keys are entered. So I flip my Stripe console to the test mode and obtain test keys, plug them in, and flip the console back to live mode.
Now the red message is gone but the Stripe payment method still does not appear in the list. Only Cheque/Money order does (enabled it to have something in the list, for reference).
What does this module require, for the payment method to become available to customers?

Update: It is even weirder! I enable COD just for testing, and Stripe appears in the list together with COD. I disable COD and both COD and Stripe disappear.