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

Stripe.com payment integration module

Views: 234,117

Results 541 to 560 of 680
22 Jan 2025, 10:02 AM
#541
split63 avatar

split63

Totally Zenned

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

Stripe.com payment integration module

Gozzandes:

checkout.js should not be changed, it's should be original line 39 return_url: confirmationURL,.
I compared the source 2.1.9 checkout.js to the file on the test site, they are identical.
Line 39: return_url: confirmationURL,

Gozzandes:

creat.php line 60 - should be changed

The code in the above post #539 is identical to that of post #535. Its what I already have on the test site

22 Jan 2025, 10:17 AM
#542
gozzandes avatar

gozzandes

Zen Follower

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

Re: Stripe.com payment integration module

post again
following codes are for Amazonpay.
create.php line 34-36 and 42-44
from

        'automatic_payment_methods' => [
        'enabled' => true,
        ], 

to

  'payment_method_types' => ['card', 'amazon_pay'],  
22 Jan 2025, 10:49 AM
#543
split63 avatar

split63

Totally Zenned

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

Re: Stripe.com payment integration module

Gozzandes:

post again
following codes are for Amazonpay.
create.php line 34-36 and 42-44
from

    'automatic_payment_methods' => [
    'enabled' => true,
    ], 
> to
> ```php
  'payment_method_types' => ['card', 'amazon_pay'],  

Gozzandes, Unfortunately, there is no change. Still the same error message

22 Jan 2025, 11:10 AM
#544
gozzandes avatar

gozzandes

Zen Follower

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

Re: Stripe.com payment integration module

split63:

Gozzandes, Unfortunately, there is no change. Still the same error message

hmm..
Sorry.
Could you take me time?

22 Jan 2025, 11:14 AM
#545
split63 avatar

split63

Totally Zenned

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

Re: Stripe.com payment integration module

Yes, please take your time. I noticed that on the last change, only Amazon now shows up as an payment option other than Credit Cards

24 Jan 2025, 4:22 AM
#546
split63 avatar

split63

Totally Zenned

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

Re: Stripe.com payment integration module

Gozzandes,
For clarity, I want you to know that we are still able to receive successful payments via Amazon Pay, Cash App, and others. Issues only seem to occur when they are on the 3rd checkout page and decide to update something about the order.

We don't see this with Credit Card orders.

25 Jan 2025, 8:25 AM
#547
gozzandes avatar

gozzandes

Zen Follower

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

Re: Stripe.com payment integration module

split63:

Gozzandes,
For clarity, I want you to know that we are still able to receive successful payments via Amazon Pay, Cash App, and others. Issues only seem to occur when they are on the 3rd checkout page and decide to update something about the order.

We don't see this with Credit Card orders.

Can you request the log data to the Stripe support?
They have all your transaction log data.

Stripe support

25 Jan 2025, 4:11 PM
#548
split63 avatar

split63

Totally Zenned

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

Re: Stripe.com payment integration module

Gozzandes:

Can you request the log data to the Stripe support?
They have all your transaction log data.
I see the log entries for the Amazon Pay that resulted in two charges, but no Zen Order. What specifically are you interested in seeing?

Attachment 20879

25 Jan 2025, 4:50 PM
#549
split63 avatar

split63

Totally Zenned

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

Re: Stripe.com payment integration module

Here is the Confirm log for the 1st transaction:

OST/v1/payment_intents/pi_3QjOvoGCPflMGg4a           /confirm
Request ID
HTTP status code
200
Time
Jan 20, 2025, 9:39:36 AM
IP address
181.197.42.233
API version
2024-11-20.acacia
Default
Origin
https://js.stripe.com/
Idempotency key
8669f2fe-6bc9-4cd7-b098xxxxxxxxxxxx
User agent
Mozilla/5.0 (iPhone; CPU iPhone OS 18_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1.1 Mobile/15E148 Safari/604.1
API key
Response body
{
"id": 
,"object": "payment_intent","amount": 11130,
"amount_details": {
"tip": {},
},
"automatic_payment_methods": {
"allow_redirects": "always","enabled": true,
},"canceled_at": null,"cancellation_reason": null,"capture_method": "automatic_async","client_secret": "pi_3Q**********************_******_*********************bURO","confirmation_method": "automatic","created": 1737394716,"currency": "usd","description": null,"last_payment_error": null,"livemode": true,
"next_action": {
"redirect_to_url": {
"return_url": "https://mysite.com/ZC/index.php?main_page=checkout_confirmation","url": "https://pm-redirects.stripe.com/authorize/acct_1QVctOGCPflM/pa_nonce_RceFloowK3BiBMR6JqjPzTJK        ",
},"type": "redirect_to_url",
},"payment_method": ,
"payment_method_configuration_details": {
"id": 
,"parent": null,
},
"payment_method_types": [
"card","link","cashapp","amazon_pay",
],"processing": null,"receipt_email": null,"setup_future_usage": null,"shipping": null,"source": null,"status": "requires_action",
}
Request POST body
{
"client_secret": "************************************************************","expected_payment_method_type": "amazon_pay","key": "pk_live_*********************************************************************************************A5jjC3",
"mandate_data": {
"customer_acceptance": {
"online": {
"infer_from_client": "true",
},"type": "online",
},
},
"payment_method_data": {… 8 items},
"radar_options": {
"hcaptcha_token": "P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwY.lNnZUOWtETDdGYVBMZElpcTVYT012LzdRV0ZaQmxBdmQwdnNzREpJY2xpcmszZ...WjhDb2M5Nmt0YnlGYXl3aDVEOGl2aGdFTnpFRFF1K0NZOFFWWHYzR1FWL3Q4Y09hL3B6RHRlUlFJTjFsS0tYUHkrRERaUjZyQy91d3o4aTFBYVp2M083VGlCRUxYbVUxb0xHZWRRTk1BemZHU2lqY3hSTEZ2VUNaM1hTa282a2xoSW1DR2FtQ2Y0RiJ9.maZ__KerJ0R2zIj_WxicBu-foO66iWISHRoQQpWdRr8",
},"return_url": "https://mysite.com/ZC/index.php?main_page=checkout_confirmation",
}
25 Jan 2025, 4:54 PM
#550
split63 avatar

split63

Totally Zenned

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

Re: Stripe.com payment integration module

Here is the intent log entry 1st transaction

POST/v1/payment_intents
Request ID
HTTP status code
200
Time
Jan 20, 2025, 9:38:36 AM
IP address
89.117.9.xxx
API version
2024-11-20.acacia
Default
Idempotency key
a2a726bc-7c30-4cd5-955c-6bec392d30ee
User agent
Stripe/v1 PhpBindings/10.0.0
API key
Response body
{
"id": 
,"object": "payment_intent","amount": 11130,"amount_capturable": 0,
"amount_details": {
"tip": {},
},"amount_received": 0,"application": null,"application_fee_amount": null,
"automatic_payment_methods": {
"allow_redirects": "always","enabled": true,
},"canceled_at": null,"cancellation_reason": null,"capture_method": "automatic_async","client_secret": "pi_3Q**********************_******_*********************bURO","confirmation_method": "automatic","created": 1737394716,"currency": "usd","customer": ,"description": null,"invoice": null,"last_payment_error": null,"latest_charge": null,"livemode": true,"metadata": {},"next_action": null,"on_behalf_of": null,"payment_method": null,
"payment_method_configuration_details": {
"id": 
,"parent": null,
},
"payment_method_options": {
"amazon_pay": {
"express_checkout_element_session_id": null,
},
"card": {
"installments": null,"mandate_options": null,"network": null,"request_three_d_secure": "automatic",
},"cashapp": {},
"link": {
"persistent_token": null,
},
},
"payment_method_types": [
"card","link","cashapp","amazon_pay",
],"processing": null,"receipt_email": null,"review": null,"setup_future_usage": null,"shipping": null,"source": null,"statement_descriptor": null,"statement_descriptor_suffix": null,"status": "requires_payment_method","transfer_data": null,"transfer_group": null,
}
Request POST body
{
"amount": "11130",
"automatic_payment_methods": {
"enabled": "true",
},"currency": "USD",
30 Jan 2025, 8:13 AM
#551
gozzandes avatar

gozzandes

Zen Follower

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

Re: Stripe.com payment integration module

I've received from Stripe staff.
She is requesting me to submit my dashboard screenshot.
'Could you share the screenshot of the dashboard with us via the secure link? I appreciate your efforts in advance.'
Stripe Amazon pay is only USA.
Could you ask about your situation for Stripe staff instead of me?

30 Jan 2025, 3:07 PM
#552
split63 avatar

split63

Totally Zenned

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

Re: Stripe.com payment integration module

What part of the dashboard? The home screen? What are they trying to see/confirm?

1 Feb 2025, 3:30 AM
#553
gozzandes avatar

gozzandes

Zen Follower

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

Re: Stripe.com payment integration module

split63:

What part of the dashboard? The home screen? What are they trying to see/confirm?

The Stripe staff probably thinks I'm using amazon_pay even though I live in Japan.
That's probably why they're asking for a copy of the dashboard.

Please make some changes to checkout.js.
Could you please put ; on line 43 of checkout.js?
from

    redirect: 'if_required'
   }
  )

to

    redirect: 'if_required'
   }
  );
1 Feb 2025, 4:10 AM
#554
split63 avatar

split63

Totally Zenned

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

Re: Stripe.com payment integration module

Ever since the 4 duplicate and failed Zen orders, its seems all we get now are credit card orders. Once in a while, we will get a cash app or Amazon, or the like and as long as they hit the 3rd checkout page and actually checkout, there is no issue.
I have tried replicating the failure, but no luck. I suspect it may have something to do with people with cell phones that have cookies which allow them directly into the payment, such as Amazon, without logging in. Just speculating, as I can't replicate their experience.

If the added semicolon corrects the issue, why would we not have seen a syntax error previously ?

1 Feb 2025, 9:04 AM
#555
gozzandes avatar

gozzandes

Zen Follower

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

Re: Stripe.com payment integration module

split63:

Ever since the 4 duplicate and failed Zen orders, its seems all we get now are credit card orders. Once in a while, we will get a cash app or Amazon, or the like and as long as they hit the 3rd checkout page and actually checkout, there is no issue.
I have tried replicating the failure, but no luck. I suspect it may have something to do with people with cell phones that have cookies which allow them directly into the payment, such as Amazon, without logging in. Just speculating, as I can't replicate their experience.

If the added semicolon corrects the issue, why would we not have seen a syntax error previously ?

The pi number (PaymentIntent) is one for one payment, so even if there are duplicate transactions, there should be only one payment. The first time is pi_3QjO...in the image and the second time is also pi_3QjO these are the same number.
Green [200] is OK.

1 Feb 2025, 5:44 PM
#556
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Stripe.com payment integration module

Life would sure be more interesting and more help/testing could be provided if this were a github repository.:frusty:

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

10 Feb 2025, 5:30 PM
#557
split63 avatar

split63

Totally Zenned

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

Re: Stripe.com payment integration module

We just got a dispute from a customer that ordered using Amazon pay on 1/23. They hit the final checkout page once, and nothing odd about the successful stripe payment. But no order was received in Zen.

We have turned off Amazon Payment. Its used so infrequently, its just not worth it.

12 Feb 2025, 7:21 PM
#558
split63 avatar

split63

Totally Zenned

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

Re: Stripe.com payment integration module

Just discovered a Cash App payment from 2 weeks ago, that shows successful on Stripe, but no order received on Zen. Hit the final check out page only once. Nothing unusual about it...simply no Zen order.
What's even more odd, is it came to my attention, because the customer came back today after never receiving an order notification, and tried the order again. This time, we got the Zen Order, but his Cash App Payment attempt shows "Incomplete" and "Action Required"
But we will now use his previous payment combined with his now successful Zen order to complete his order.
We have now disabled both Cash App and Amazon Pay, just can't trust either.

This is the stripe screen capture of the Action required message"

Attachment 20902

23 Feb 2025, 11:59 PM
#559
gozzandes avatar

gozzandes

Zen Follower

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

Re: Stripe.com payment integration module

I'm really sorry.
As expected, Amazon payment is only available in the US, so even when I contacted Stripe, I couldn't find any information for me in Japan.

24 Feb 2025, 2:26 AM
#560
split63 avatar

split63

Totally Zenned

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

Re: Stripe.com payment integration module

Can't you just use a VPN and select a US server?