#Aruljothi-ApplePay
1 messages · Page 1 of 1 (latest)
@vestal bramble stepping in on behalf of orakaro, i'll take a look and get back to you shortly
okay
@vestal bramble the payment is showing as completed though : https://dashboard.stripe.com/payments/pi_3Ju2YlIX5abeNCfA2iGJM4Vz and i'm not seeing any payment not completed error -> where did you see this payment not completed error?
in apple pay box -page one meoment i am give screenshot
but payment happens and return success page
please refer screenshots
@vestal bramble can you verify what is the value of confirmResult in stripe.confirmCardPayment? I assume you're using the payment request button, let me know if you're using something else https://stripe.com/docs/stripe-js/elements/payment-request-button#html-js-complete-payment
confirmResult.paymentIntent.status =success
yes i am used this link and implemented
but alert get success after payment not completed inthe applepay box
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?
Is this using Live Mode key?
Does this error occur in every transaction? Can you reproduce this error?
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
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
@vestal bramble Do you have a working example using your test keys?
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?
Yep, the output of console.log(confirmResult) that's in your code
i am not able to test now
my client only test using her mobile
so iam not able to get see console.log(confirmResult)
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
If you can share a version that is using test keys I can help figure out the issue, yes
shall i chnage the live payment to test payment
are you able to test it?
in mobile not able to see the console log
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!
i will provide another url
still looks like livemode to me
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.