Forums / Addon Payment Modules / Stripe.com payment integration module

Stripe.com payment integration module

Views: 234,117

Results 141 to 160 of 680
22 Jul 2018, 10:04 PM
#141
dbltoe avatar

dbltoe

Totally Zenned

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

Stripe.com payment integration module

Simply that the normal setting of a payment zone in Zen Cart restricts the zone that the payment will accept to the zone that is selected.

In most payment methods, if I were to set it to Texas, only customers in Texas could make a purchase. Are you sure you have your Zone Name and Definition set properly?

Under the Locations/Taxes menu in the admin.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

23 Jul 2018, 6:45 AM
#142
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Stripe.com payment integration module

dbltoe:

Simply that the normal setting of a payment zone in Zen Cart restricts the zone that the payment will accept to the zone that is selected.

In most payment methods, if I were to set it to Texas, only customers in Texas could make a purchase. Are you sure you have your Zone Name and Definition set properly?

Under the Locations/Taxes menu in the admin.

Did you understand when I posted "I have Paypal Express checkout and when I set the payment zone to Switzerland or to Europe then the Paypal payment method does show up OK " so confirming my Zone Name and Definition set properly?

24 Aug 2018, 11:06 AM
#143
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Stripe.com payment integration module

marton_1:

????

As I posted, I live in Switzerland and I have a Swiss address. When I set the payment zone to Switzerland then the Stripe payment method does not show up on my "checkout_payment" page Page 2 of 3).

If I set the payment zone to Europe then the Stripe payment method also does not show up on my "checkout_payment" page Page 2 of 3).

If I set the payment zone to none then the Stripe payment method does show up OK on my "checkout_payment" page Page 2 of 3).

I have Paypal Express checkout and when I set the payment zone to Switzerland or to Europe then the Paypal payment method does show up OK on my "checkout_payment" page Page 2 of 3).

I am not sure what you are trying to tell me???

Stripe is working fine for me but I still have this problem that I have to set the payment zone to "none" otherwise Stripe does not show up on the payment options page.
There is no corresponding log entry.

I believe the relevant Stripe code is ```
$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Payment Zone', 'MODULE_PAYMENT_STRIPEPAY_ZONE', '0', 'If a zone is selected, only enable this payment method for that zone.', '6', '20', 'zen_get_zone_class_title', 'zen_cfg_pull_down_zone_classes(', now())");

 
When I look at the stripe_data table then the last customer country is set correctly as CH (Switzerland).

I did not find where MODULE_PAYMENT_STRIPEPAY_ZONE is stored?
11 Nov 2018, 5:43 PM
#144
fjolsvith avatar

fjolsvith

New Zenner

Join Date:
Mar 2016
Location:
Norcatur, Kansas, USA
Posts:
88
Plugin Contributions:
2

Re: Stripe.com payment integration module

Question: Does the Stripe payment module use Stripe Elements?

6 Feb 2019, 10:49 PM
#145
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Stripe.com payment integration module

Hi

I was wondering if this add-on is still updated?

Debbie Harrison
DVH Design | Web Design blog

15 Feb 2019, 3:46 PM
#146
echexxxxxxxx10 avatar

echexxxxxxxx10

New Zenner

Join Date:
Feb 2010
Posts:
58
Plugin Contributions:
0

Re: Stripe.com payment integration module

hello to all, I'm trying to make a live payment, but when I put the card information and click send order, this returns me to the previous page asking me to mark the box where I accept the conditions ...

no error in the file debuglog ...
tips? thank you

6 May 2019, 9:22 PM
#147
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Stripe.com payment integration module

Anybody know how/where this Stripe plugin updates payment_method in TABLE_ORDERS?

I am trying to show Stripe as an image with the card types supported on my checkout pages but simply as text in other places like invoice.

When I setup the image it shows up OK on the checkout pages but payment_method in TABLE_ORDERS is updated with the image link.
If I manually update payment_method in TABLE_ORDERS to be "Stripe" then everything works as I want!

8 May 2019, 6:37 AM
#148
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Stripe.com payment integration module

Just got this in an email from Stripe, is anybody now supporting this plugin?
Beginning September 14, 2019, PSD2 regulation will require Strong Customer Authentication (SCA) for many online payments made by European customers, to help reduce fraud.
If you use a third-party plugin, platform, or extension partner from the Works With Stripe gallery, contact your Stripe partner to see what (if any) work you will need to do to get ready for SCA.

8 May 2019, 9:23 AM
#149
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Stripe.com payment integration module

marton_1:

Just got this in an email from Stripe, is anybody now supporting this plugin?
Beginning September 14, 2019, PSD2 regulation will require Strong Customer Authentication (SCA) for many online payments made by European customers, to help reduce fraud.
If you use a third-party plugin, platform, or extension partner from the Works With Stripe gallery, contact your Stripe partner to see what (if any) work you will need to do to get ready for SCA.

On further research it seems that as this plugin redirects you to the Stripe site where everything happens then probably nothing needs to be changed; anybody have a different view?

13 May 2019, 8:34 AM
#150
diptimoy avatar

diptimoy

Zen Follower

Join Date:
Apr 2012
Location:
Bardhaman , Bharat
Posts:
217
Plugin Contributions:
1

Re: Stripe.com payment integration module

Do this module/add on already have this feature ,

3D secure for Strong Customer Authentication which will come to effect on September 14, 2019 ?

7 Jun 2019, 2:09 PM
#151
fjolsvith avatar

fjolsvith

New Zenner

Join Date:
Mar 2016
Location:
Norcatur, Kansas, USA
Posts:
88
Plugin Contributions:
2

Re: Stripe.com payment integration module

I've been running the Stripe payment module for nearly two years and am finally getting around to addressing a problem with it.

The typical order amount on my store is $4-6k, which can cause issues for a customer on checkout. For example, they possibly do not have sufficient funds in their bank account (if using a debit card). Or, their card has a daily limit which is less than the order amount. Or, their fraud protection kicks in, declining the transaction.

When one of these declines happens for a customer, Zencart redirects back to Step 2 of the checkout process and gives the error message of "Please confirm the terms and conditions bound to this order by ticking the box below." The Payment module should be telling the customer why their card is being declined. It is frustrating for me because people try to order 2-3 times and then quit, probably with misgivings about the integrity of my store.

Is there anywhere in the module for me to look to see what can be modified to make it give a detailed error description when the customer is returned to Step 2?

22 Jun 2019, 4:28 AM
#152
fjolsvith avatar

fjolsvith

New Zenner

Join Date:
Mar 2016
Location:
Norcatur, Kansas, USA
Posts:
88
Plugin Contributions:
2

Re: Stripe.com payment integration module

I'm reporting a bug in this payment module. It has to do with a customer who is trying to do a second purchase with a credit card, who once before had a successful purchase with the credit card using the Stripe payment module.

The second time the customer is checking out, the module fails to process the transaction if the customer has a prior StripeCustomerID returned by Stripe, and returns the customer to Step 2 of the checkout process. This value is tested for on line 399 of the file 'stripepay.php'.

22 Jun 2019, 8:20 AM
#153
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Stripe.com payment integration module

Fjolsvith:

I'm reporting a bug in this payment module. It has to do with a customer who is trying to do a second purchase with a credit card, who once before had a successful purchase with the credit card using the Stripe payment module.

The second time the customer is checking out, the module fails to process the transaction if the customer has a prior StripeCustomerID returned by Stripe, and returns the customer to Step 2 of the checkout process. This value is tested for on line 399 of the file 'stripepay.php'.

Probably not much help! But I have customers who have had multiple successful purchases with the credit card using the Stripe payment module even this week one who managed to make an incorrect but successful duplicate payment in under one minute.
If they are returned to Step 2 of the checkout process then it may be their credit is not good enough for their purchase?
Did you check the Stripe.com dashboard for error messages?

23 Jun 2019, 2:49 AM
#154
fjolsvith avatar

fjolsvith

New Zenner

Join Date:
Mar 2016
Location:
Norcatur, Kansas, USA
Posts:
88
Plugin Contributions:
2

Re: Stripe.com payment integration module

Probably not much help! But I have customers who have had multiple successful purchases with the credit card using the Stripe payment module even this week one who managed to make an incorrect but successful duplicate payment in under one minute.
If they are returned to Step 2 of the checkout process then it may be their credit is not good enough for their purchase?
Did you check the Stripe.com dashboard for error messages?

The Stripe dashboard doesn't even show a failed transaction. Had two returning customers in the last two weeks attempt the purchase. After the recent one, I verified the problem by myself making a purchase and then trying a second one (which failed). This is frustrating as heck.

Since there's no failed transaction, it isn't an issue with the card being declined.

On your site, if a customer's card is declined, do they get sent back to Step 2 with an error message explaining why it is declined?

3 Jul 2019, 10:36 AM
#155
alexexela avatar

alexexela

New Zenner

Join Date:
Jul 2006
Posts:
16
Plugin Contributions:
0

Re: Stripe.com payment integration module

marton_1:

On further research it seems that as this plugin redirects you to the Stripe site where everything happens then probably nothing needs to be changed; anybody have a different view?

With my understanding, this module does not support the new SCA requirement. There is no procedure in this module that allows the customers to go to their bank's 3D Secure authentication page and then come back to your zen cart website. From my reading on Stripe's API, the "Payment Intents API" is the new standard, while the older "Charge API" (that this module uses) does not support SCA.

It doesn't mean that this stripe plugin will stop working after September. But there is a chance that the bank will reject the customer's credit card (with "do_not_honor") because your site cannot go to the bank's 3D Secure authentication page.

We need an update to this.

6 Jul 2019, 3:08 PM
#156
hairydog avatar

hairydog

Zen Follower

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

Re: Stripe.com payment integration module

alexexela:

We need an update to this.
I think you are correct, but is anyone working on it?

15 Jul 2019, 2:38 AM
#157
gernot avatar

gernot

Zen Follower

Join Date:
Feb 2017
Location:
Tokyo, Japan
Posts:
334
Plugin Contributions:
0

Re: Stripe.com payment integration module

I've been in touch with Stripe, their customer support tells me SCA is mostly for European locations and that we can still continue to use the non-SCA methods elsewhere.
I am waiting for a rep to get back to me about the implications of SCA for other locations, including Japan.

Anyone know if Zen Cart use qualifies for a better deal, like it does with some other payment processors? I will ask, but I'd prefer to hear an answer from this side also in case Stripe's customer support simply does not know.

Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

23 Jul 2019, 3:12 PM
#158
gernot avatar

gernot

Zen Follower

Join Date:
Feb 2017
Location:
Tokyo, Japan
Posts:
334
Plugin Contributions:
0

Re: Stripe.com payment integration module

Never heard back from Stripe about SCA implications as they promised, will write them again tomorrow.
In the meantime, I installed the (latest) v1.3.4 of the Stripe module.
API version is still set at v1.3.2, not sure if that should be updated in includes/modules/payment/stripepay.php

$this->api_version = 'Stripe Payments v 1.3.2 for ZenCart';I added JPY (Japanese Yen ) to the configuration in the same file for the configuration parameter MODULE_PAYMENT_STRIPEPAY_CURRENCY.
No idea if that will be all that is required, perusing the code did not bring up any obvious issues to me (apart from that the comments are also a bit dated in part).
I'll report back when I get a Stripe account here in Japan and try to integrate it.
Plus SCA-related info when I get some.

Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

24 Jul 2019, 3:48 PM
#159
gernot avatar

gernot

Zen Follower

Join Date:
Feb 2017
Location:
Tokyo, Japan
Posts:
334
Plugin Contributions:
0

Re: Stripe.com payment integration module

Zen Cart 1.5.6c
DB patch level: 1.5.6
PHP: 7.3.6-1

Quick update. Got my Stripe account set up today on the Japan site, verified and all, test and live API keys obtained and inserted into Stripe plugin configuration.
Sadly, a test brings up a well-known error during checkout in step 3 when pressing order confirmation button.
First we have the blank screen with just the following text displayed:

WARNING: An Error occurred, please refresh the page and try again.
On refreshing the page (https://***/shop/index.php?main_page=checkout_confirmation) there is the error displayed in the Zen Cart checkout confirmation page:
Must provide source or customer.
Checking the log on the Stripe site (actually quite impressive debugging support there) does not enlighten me yet, nor does Stack Overflow where this is discussed in one instance:
https://stackoverflow.com/questions/42500984/stripe-must-provide-source-or-customer

So I guess I'll be reading docs and figuring out what Javascript (I assume) is not populating a field.

For reference, the debug log:

/shop# cat logs/myDEBUG-20190725-004321-968029.log
[25-Jul-2019 00:43:22 Asia/Tokyo] Stripe Notice: Undefined property of Stripe_Charge instance: customer
[25-Jul-2019 00:43:22 Asia/Tokyo] Stripe Notice: Undefined property of Stripe_Charge instance: disputed
[25-Jul-2019 00:43:22 Asia/Tokyo] Stripe Notice: Undefined property of Stripe_Charge instance: fee
[25-Jul-2019 00:43:22 Asia/Tokyo] Stripe Notice: Undefined property of Stripe_Charge instance: invoice
[25-Jul-2019 00:43:22 Asia/Tokyo] Stripe Notice: Undefined property of Stripe_Object instance: address_city
[25-Jul-2019 00:43:22 Asia/Tokyo] Stripe Notice: Undefined property of Stripe_Object instance: address_country
[25-Jul-2019 00:43:22 Asia/Tokyo] Stripe Notice: Undefined property of Stripe_Object instance: address_line1
[25-Jul-2019 00:43:22 Asia/Tokyo] Stripe Notice: Undefined property of Stripe_Object instance: address_line1_check
[25-Jul-2019 00:43:22 Asia/Tokyo] Stripe Notice: Undefined property of Stripe_Object instance: address_line2
[25-Jul-2019 00:43:22 Asia/Tokyo] Stripe Notice: Undefined property of Stripe_Object instance: address_zip
[25-Jul-2019 00:43:22 Asia/Tokyo] Stripe Notice: Undefined property of Stripe_Object instance: address_zip_check
[25-Jul-2019 00:43:22 Asia/Tokyo] Request URI: /shop/index.php?main_page=checkout_process, IP address: 192.168.0.3
#1 trigger_error() called at [
/shop/includes/classes/db/mysql/query_factory.php:171]
#2 queryFactory->show_error() called at [/shop/includes/classes/db/mysql/query_factory.php:143]
#3 queryFactory->set_error() called at [
/shop/includes/classes/db/mysql/query_factory.php:270]
#4 queryFactory->Execute() called at [/shop/includes/functions/functions_general.php:952]
#5 zen_db_perform() called at [
/shop/includes/modules/payment/stripepay.php:495]
#6 stripepay->after_process() called at [/shop/includes/classes/payment.php:254]
#7 payment->after_process() called at [
/shop/includes/modules/pages/checkout_process/header_php.php:17]
#8 require(/shop/includes/modules/pages/checkout_process/header_php.php) called at [/shop/index.php:36]
--> PHP Fatal error: 1364:Field 'stripe_object' doesn't have a default value :: INSERT INTO stripe_data (orders_id, stripe_charge_id, customers_id, stripe_amount, stripe_amount_refunded, stripe_currency, stripe_customer, stripe_description, stripe_disputed, stripe_fee, stripe_invoice, stripe_paid, stripe_address_city, stripe_address_country, stripe_address_line1, stripe_address_line1_check, stripe_address_line2, stripe_address_zip, stripe_address_zip_check, stripe_country, stripe_fingerprint, stripe_cvc_check, stripe_name, stripe_last4, stripe_exp_month, stripe_exp_year, stripe_type) VALUES ('34', 'ch_1EzmcgIvuX80g3UFyVX17IG5', '2', '58290', '0', 'JPY', '', '<testemailaddresshere>', '', '', '', '1', '', '', '', '', '', '', '', 'US', 'lHfW1lpMAnH1N1Ea', 'pass', '<My Name>', '4242', '1', '2021', 'Visa') ==> (as called by) ***/shop/includes/functions/functions_general.php on line 952 <== in ***/shop/includes/classes/db/mysql/query_factory.php on line 171Note: The email address is removed here in the post, it is actually a proper email format. Ditto for My Name.
I suspect perhaps the "US" is wrong, but that can be handled later.

Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

24 Jul 2019, 4:00 PM
#160
gernot avatar

gernot

Zen Follower

Join Date:
Feb 2017
Location:
Tokyo, Japan
Posts:
334
Plugin Contributions:
0

Re: Stripe.com payment integration module

Post #109 on this thread gives a suggestion to fix the missing stripe_object value:
https://www.zen-cart.com/showthread.php?201999-Stripe-com-payment-integration-module&p=1320892#post1320892
Will try this and report back.

Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0