#vladimir_unexpected

1 messages Β· Page 1 of 1 (latest)

placid topazBOT
#

πŸ‘‹ Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

πŸ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1332294256735551520

πŸ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

calm holly
#

hello @night cliff

night cliff
#

πŸ‘‹ happy to help

calm holly
#

thanks man

night cliff
#

would you mind sharing the Checkout Session ID?

night cliff
#

the Checkout Session ID has the format cs_(live|test)_xxxx

calm holly
#

cs_live_b1GnQveY70LN5GwHxE3udERrgVlZ4YtKk8FM9RQNcwKonMdIE02Amysdjk#fid1d2BpamRhQ2prcSc%2FJ0twa2xxaicpJ2R1bE5gfCc%2FJ3VuWmlsc2BaMDRLamN9MUBAbGZxY0E9QDFMT11AMFFuNUp1a2BhQTJHbk9nPU18N3EyXHFwX31oc2FfcUZoX2dfRk5BMDZBS058S0lNPD1EfFxhanRwNExAaz1zbEt1a2M1NUM8NV1icXcwJyknY3dqaFZgd3Ngdyc%2FcXdwYCknaWR8anBxUXx1YCc%2FJ2hwaXFsWmxxYGgnKSdga2RnaWBVaWRmYG1qaWFgd3YnP3F3cGB4JSUl

night cliff
#

yours is cs_live_b1GnQveY70LN5GwHxE3udERrgVlZ4YtKk8FM9RQNcwKonMdIE02Amysdjk

#

looking into the Checkout Session to see why the promotion code is not working

calm holly
#

thank you -

night cliff
#

sorry it's taking me long to troubleshoot your issue

calm holly
#

so its a big issue then! πŸ˜„

night cliff
#

no necessarily, it's just busy on discord

#

I haven't had the time to look into it to be honest

calm holly
#

ok, my team is waiting for you πŸ™‚ we are all on screencast πŸ˜„

#

we just released new payment and need to test it, but this prevents us from complete testing

night cliff
#

the promocode is case sensitive

#

and the one you entered in the Checkout Session is all in capital letters

calm holly
#

but i dont enter capital, that filed autmatically converts it to caps

#

try by your self, you will see, whatver i place in, it converts it to capital

#

and what it customr facing code?

#

i mean on this

#

what difference between Coupon and Promotion code and which one w ehsould use?

night cliff
#

Promotion Codes are the customer facing one

#

you're using them correctly

#

I think the problem is with our input

calm holly
#

so what do i give to customers?

night cliff
#

on the Checkout Session

calm holly
#

what do i do?

night cliff
#

sorry I just checked again

#

the problem is that the coupon is a 100% off

#

but you must be on API version 2023-08-16 or later to process no-cost orders using the Checkout Sessions API

calm holly
#

i tried every code, and every letter

#

hm

night cliff
#

yes it's not about that unfortunately

#

you either need to upgrade your third-party connector

#

(if they have an update) where the API version is equal or later than 2023-08-16

#

or you need to contact the maintainers of that plugin to upgrade their API version

calm holly
#

its laravel

#

To prevent breaking changes, Cashier uses a fixed Stripe API version. Cashier 15 utilizes Stripe API version 2023-10-16. The Stripe API version will be updated on minor releases in order to make use of new Stripe features and improvements.

#

so i am on later version

night cliff
#

you're using v14.14.0 of the Laravel Cashier Plugin

calm holly
#

thanks, i will get into it now. looks like you are right. I am usingolder version

#

thanks man

#

i wish you a wonderful day

night cliff
#

sure you too

placid topazBOT
calm holly
#

do yo uknow why this error?
The customer failed to authenticate with 3D Secure
Have the customer enter payment details and complete the 3DS modal shown by Stripe.js.
Learn more

potent garden
#

hi! I'm taking over this thread.

#

the error seems to be pretty clear: the user failed the 3DS flow.

calm holly
#

i dont know what 3 d means

#

there was nothing except normal card input

potent garden
#

when you make a payment, the bank may ask the user to go though a 3DS flow to validate their identity. like entering a security code their receive on their phone.

calm holly
#

Yeah but why I did not get this window? I usually get something to enter otp

potent garden
#

can you share the PaymentIntent ID (pi_xxx)?

calm holly
#

I usually get a modal, and in this modal is my bank

#

I will

#

5 minute

#

{
"id": "pi_3QkkhmEEictfD8E41Tjba4rz",
"object": "payment_intent",
"last_payment_error": {
"code": "payment_intent_authentication_failure",
"doc_url": "https://stripe.com/docs/error-codes/payment-intent-authentication-failure",
"message": "The provided PaymentMethod has failed authentication. You can provide payment_method_data or a new PaymentMethod to attempt to fulfill this PaymentIntent again.",

Learn more about error codes and how to resolve them.

#

then i tried another card, from another country i have, and worked

potent garden
#

wait, are you testing Checkout Session with a real card?

#

https://docs.stripe.com/testing

Don’t use real card details. The Stripe Services Agreement prohibits testing in live mode using real payment method details. Use your test API keys and the card numbers below.

#

If you make tests with your own cards in live mode, banks may think you are trying to commit fraud, and may block payments.

calm holly
#

no this is my production site

#

i want to make sure my production payment works

#

i am pass deve testing on dev server

potent garden
#

I understand, but you shouldn't be doing this

#

The Stripe Services Agreement prohibits testing in live mode using real payment method details.

calm holly
#

i am paying with my provate card for my product, what is wrong with this?

#

i should not wait for my users to fail on payment i think?

potent garden
#

i am paying with my provate card for my product, what is wrong with this?
This is against the Stripe Service Agreement. And may cause your payment/accounts to be blocked.

#

Only test in test mode.

calm holly
#

so my quesiton is why my user get error of 3D - form was displayed with inputs for a credit card, regular one, and card was entered nd failed, there was no question about OTP, as we have seen

#

can you help on that?

potent garden
calm holly
#

thanksd