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

Stripe.com payment integration module

Views: 233,175

Results 401 to 420 of 679
12 Dec 2024, 4:57 AM
#401
gozzandes avatar

gozzandes

Zen Follower

Join Date:
Jul 2021
Location:
Fukuoka Japan
Posts:
131
Plugin Contributions:
0

Stripe.com payment integration module

Version 2.1.7 uploaded.
Payment succeeded message is editable from this version.
and Payment form moved from bottom to under the billing address.

Nihon Yokane corporation[/QUOTE]

12 Dec 2024, 10:59 AM
#402
gozzandes avatar

gozzandes

Zen Follower

Join Date:
Jul 2021
Location:
Fukuoka Japan
Posts:
131
Plugin Contributions:
0

Re: Stripe.com payment integration module

"Payment succeeded" message is displayed after pushing Confirmation button.
Language of the stripe form is multi language. It is automatically switched by user's browser.
but "Payment succeeded" message is not multi language.
Therefore,Administrator can change the word.

Attachment 20819

Nihon Yokane corporation

12 Dec 2024, 8:31 PM
#403
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: Stripe.com payment integration module

On the stripe download page it shows support for Zen:
v1.5.7, v1.5.8, v2.0.0
In the help it shows: v1.5.7d
In the same help file is shows v1.5.8

Which is the true minimum Zen and PHP versions supported?

13 Dec 2024, 1:46 AM
#404
gozzandes avatar

gozzandes

Zen Follower

Join Date:
Jul 2021
Location:
Fukuoka Japan
Posts:
131
Plugin Contributions:
0

Re: Stripe.com payment integration module

split63:

On the stripe download page it shows support for Zen:
v1.5.7, v1.5.8, v2.0.0
In the help it shows: v1.5.7d
In the same help file is shows v1.5.8

Which is the true minimum Zen and PHP versions supported?

Sorry
The content of the help was not modified.
Stripe_module_zc158 and Stripe_module_zc2xx are the same.
Stripe_module_zc157d is different.

13 Dec 2024, 2:16 AM
#405
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: Stripe.com payment integration module

I'm using Zen 1.5.7c, I assume that this means Stripe_module_zc157d will not work?

13 Dec 2024, 10:25 AM
#406
gozzandes avatar

gozzandes

Zen Follower

Join Date:
Jul 2021
Location:
Fukuoka Japan
Posts:
131
Plugin Contributions:
0

Re: Stripe.com payment integration module

split63:

I'm using Zen 1.5.7c, I assume that this means Stripe_module_zc157d will not work?

I checked the module under zen cart 157c.
It works.

13 Dec 2024, 5:15 PM
#407
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: Stripe.com payment integration module

Gozzandes:

I checked the module under zen cart 157c.
It works.

Given this new insight, I have to ask.... Will either of the two newer versions work with 1.5.7c and PHP 7.4?
Is there any functionality difference or are the latest versions of stripe just PHP updates so that they work with the latest versions of Zen?

13 Dec 2024, 8:29 PM
#408
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: Stripe.com payment integration module

Gozzandes:

I checked the module under zen cart 157c.
It works.

I compared the code for stripe 1.5.7d and 1.5.8 and it looked like 1.5.8 should work with zen cart 1.5.7c and php 7.4
Installed the files, went to zen's payment module screen. There was this error:

ERROR: module not loaded due to missing language file: /path/includes/languages/english/modules/payment/stripe.php

There is no such file in that path. Instead there is lang_stripe.php

Is this a known issue?

Changed the name from lang_stripe.php to stripe.php, and the error is gone

13 Dec 2024, 8:47 PM
#409
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: Stripe.com payment integration module

On the Zen Payment Modules page, instead of "STRIPE" or whatever it should be, it is listed as:

MODULE_PAYMENT_STRIPE_TEXT_TITLE

Ignoring this for now, I installed it, configured it, and it appears to be working. But on the Zen order checkout page, it is again shown as:

MODULE_PAYMENT_STRIPE_TEXT_TITLE

with no image.

If I select it, click Continue, its the normal checkout page with stripe at the bottom....which is good

13 Dec 2024, 10:24 PM
#410
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: Stripe.com payment integration module

Gozzandes:

Version 2.1.7 uploaded.
Payment succeeded message is editable from this version.
and Payment form moved from bottom to under the billing address.
The last update posted was 12/6/24 and is version 2.1.6

https://www.zen-cart.com/downloads.php?do=file&id=1548

14 Dec 2024, 2:05 AM
#411
gozzandes avatar

gozzandes

Zen Follower

Join Date:
Jul 2021
Location:
Fukuoka Japan
Posts:
131
Plugin Contributions:
0

Re: Stripe.com payment integration module

split63:

The last update posted was 12/6/24 and is version 2.1.6

https://www.zen-cart.com/downloads.php?do=file&id=1548

The difference between zen cart 1.5.8 versions and older versions is the difference in language files and comment data.
\includes\languages\lang.english.php and \includes\languages\english.php
Please check the files yourself .

When creating the stripe module, comments are added in the session ($_SESSION['order_add_comment']) because zen cart versions 1.5.7 cannot retain the comment content from the checkout payment page to the checkout confirmation page.
added files are as follows.
\includes\modules\pages\checkout_payment\header.php.php
\includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_payment_default.php

14 Dec 2024, 6:34 PM
#412
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: Stripe.com payment integration module

Gozzandes:

The difference between zen cart 1.5.8 versions and older versions is the difference in language files and comment data.
\includes\languages\lang.english.php and \includes\languages\english.php
Please check the files yourself .

When creating the stripe module, comments are added in the session ($_SESSION['order_add_comment']) because zen cart versions 1.5.7 cannot retain the comment content from the checkout payment page to the checkout confirmation page.
added files are as follows.
\includes\modules\pages\checkout_payment\header.php.php
\includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_payment_default.php

Okay, I uninstalled stripe from Zen
removed previous files
uploaded files from stripe 1.5.7d
doubled checked uploaded files
Went to Zen Payment module screen.
Now it shows: **Stripe Payments : Credit Card ** , So that problem is resolved

But when I click +Install Module

I get an error page:
WARNING: An Error occurred, please refresh the page and try again.If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

How do I fix this?

14 Dec 2024, 6:57 PM
#413
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: Stripe.com payment integration module

I restored the Zen database from 7 days earlier, that surprisingly did not fix the issue

14 Dec 2024, 7:39 PM
#414
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: Stripe.com payment integration module

PHP Fatal error: 1064:You have an error in your SQL syntax; near '(id INT(11) AUTO_INCREMENT PRIMARY KEY,customers_id INT(11),Stripe_Customers_...' at line 1 :: CREATE TABLE zen_ stripe(id INT(11) AUTO_INCREMENT PRIMARY KEY,customers_id INT(11),Stripe_Customers_id VARCHAR(32)) ==> (as called by) /path/includes/modules/payment/stripe.php on line 216

I notice that above there is a space in "zen_ stripe"

Line 216 of stripe.php:

$db-> execute("CREATE TABLE  " . DB_PREFIX  . " stripe(id INT(11) AUTO_INCREMENT PRIMARY KEY,customers_id INT(11),Stripe_Customers_id VARCHAR(32))");

Should there be a space after the " before stripe( above?

Comparing it to the stripe 1.5.8, the space is not there

I removed the space,.... that was the issue. How can I be the first to find this older typo?

14 Dec 2024, 9:20 PM
#415
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: Stripe.com payment integration module

Zen v1.5.7c
PHP 7.4

On the Zen checkout page customers currently see:

Attachment 20823

How can I show an image instead of the text "Stripe Payments : Credit Card", just like is done for PayPal?

15 Dec 2024, 1:34 AM
#416
gozzandes avatar

gozzandes

Zen Follower

Join Date:
Jul 2021
Location:
Fukuoka Japan
Posts:
131
Plugin Contributions:
0

Re: Stripe.com payment integration module

split63:

Zen v1.5.7c
PHP 7.4

On the Zen checkout page customers currently see:

Attachment 20823

How can I show an image instead of the text "Stripe Payments : Credit Card", just like is done for PayPal?

I was not thinking about the logo.
Next time, let's add a logo.
:blush:

15 Dec 2024, 5:28 AM
#417
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
942
Plugin Contributions:
3

Re: Stripe.com payment integration module

split63:

PHP Fatal error: 1064:You have an error in your SQL syntax; near '(id INT(11) AUTO_INCREMENT PRIMARY KEY,customers_id INT(11),Stripe_Customers_...' at line 1 :: CREATE TABLE zen_ stripe(id INT(11) AUTO_INCREMENT PRIMARY KEY,customers_id INT(11),Stripe_Customers_id VARCHAR(32)) ==> (as called by) /path/includes/modules/payment/stripe.php on line 216

I notice that above there is a space in "zen_ stripe"

Line 216 of stripe.php:

$db-> execute("CREATE TABLE " . DB_PREFIX . " stripe(id INT(11) AUTO_INCREMENT PRIMARY KEY,customers_id INT(11),Stripe_Customers_id VARCHAR(32))");

> 
> Should there be a space after the "  before stripe( above?
> 
> Comparing it to the stripe 1.5.8, the space is not there
> 
> I removed the space,.... that was the issue.  How can I be the first to find this older typo?


Might not be the first one to notice it >.>: <https://www.zen-cart.com/showthread.php?201999-Stripe-com-payment-integration-module&p=1404512#post1404512> 

I think the edit was put in too late for Gozzandres but will definitely be in the next upload.
15 Dec 2024, 6:27 PM
#418
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: Stripe.com payment integration module

Regarding the Payment methods selected in Stripe's dashboard, not all will appear at checkout depending on the user. For example, you might have Apple pay and google pay enabled, but they don't show up at checkout, apparently because the user's browser has nothing indicating they use these payment services.
But why not display them anyway? I asked Stripe's AI how to force this, and was told:

To force a payment method to appear, you can make a minor modification in the Stripe module

Does anyone know what this modification would be?

15 Dec 2024, 9:17 PM
#419
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: Stripe.com payment integration module

Zen V1.5.7c
PHP: 7.4

In Test mode, Zen order transactions complete without error. At Stripe, the dashboard shows the transaction and its marked as "Succeeded", but the customer data fields are blank.

I have tried 4 separate test transactions, all are missing the customer data, as shown below.

Captured from Stripe Dashboard --> Transactions
Attachment 20825

The data is captured in Zen Orders correctly

.

16 Dec 2024, 12:24 AM
#420
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: Stripe.com payment integration module

When not in test mode, the name and email were filled transferred to stripe dashboard. So perhaps this issue is just related to test mode