#Aruljothi-ApplePay

1 messages · Page 1 of 1 (latest)

abstract forge
#

Could you provide the PaymentIntent ID?

vestal bramble
#

one moment

#

pm_1Ju2YjIX5abeNCfARsxgRA8W
pi_3Ju2YlIX5abeNCfA2iGJM4Vz

sinful knoll
#

@vestal bramble stepping in on behalf of orakaro, i'll take a look and get back to you shortly

vestal bramble
#

okay

sinful knoll
vestal bramble
#

in apple pay box -page one meoment i am give screenshot

#

but payment happens and return success page

#

please refer screenshots

sinful knoll
vestal bramble
#

confirmResult.paymentIntent.status =success

#

yes i am used this link and implemented

#

but alert get success after payment not completed inthe applepay box

abstract forge
#

Hello @vestal bramble, do you mean your code get into this block?

             alert("status="+confirmResult.paymentIntent.status);
              console.log(confirmResult);
             if (confirmResult.paymentIntent && confirmResult.paymentIntent.status === 'succeeded') {
                   ev.complete('success');
                  var payintentid= confirmResult.paymentIntent.id;
                  var payment_methodval =confirmResult.paymentIntent.payment_method;
                  window.location.href="https://dhyanfoundation.org.uk/success?type="+paymentdata+"&payer="+customer_name+"&price="+payment_amount+"&id="+payintentid;   
                    
            }
#

Can you share a full log of confirmResult?

#

Can you share a public accessible link so we can try by ourself?

vestal bramble
abstract forge
#

Is this using Live Mode key?

#

Does this error occur in every transaction? Can you reproduce this error?

sinful knoll
#

I need to step away so I’m going to archive this thread. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact

severe sphinx
#

@vestal bramble Do you have a working example using your test keys?

vestal bramble
#

hi

#

using live keys and live cards

severe sphinx
#

Yes, but I'd like to be able to replicate the behaviour using your test keys (so I'm not actually charged)

#

Can you host a test version somewhere

#

Also, can you share the full confirmResult log?

vestal bramble
#

confirmResult log from stripe?

#

or need full coding of applepay

severe sphinx
vestal bramble
#

i am not able to test now

#

my client only test using her mobile

#

so iam not able to get see console.log(confirmResult)

severe sphinx
#

We really need to see the output of that log to get an idea of what's going wrong

#

Or a demo that replicates the issue using your test keys so we can try it out

vestal bramble
#

shall i do one thing shall i save add test key

#

do you able to test it?

severe sphinx
#

If you can share a version that is using test keys I can help figure out the issue, yes

vestal bramble
#

shall i chnage the live payment to test payment

#

are you able to test it?

#

in mobile not able to see the console log

severe sphinx
#

Which URL is using the test keys?

#

Ideally you should spin up a separate site, otherwise all your actual customers won't be paying you!

vestal bramble
#

i will provide another url

vestal bramble
#

test using this url

#

Added test stripe key

indigo tiger
#

still looks like livemode to me

vestal bramble
#

check only applepay

#

i altered the applepay only to test mode

vernal nova
#

Hi, getting caught up here. I'm still not seeing the text that I'd expect to if the flow was initialized with a test key. There should be "(WON'T BE CHARGED)" text that appears.