#prudhvi.vinta
1 messages · Page 1 of 1 (latest)
The tracsaction is complete. but, showing incomplete because of the payment method and customer is none
would you mind sharing your code please?
Please help to clear this incomplete status
ok
var options = new PaymentIntentCreateOptions
{
Amount = 2000, // Replace with the actual amount in cents
Currency = "usd",
PaymentMethod = "Apple pay",
Customer = "Prudhvi",
};
PaymentMethod = "Apple pay", Customer = "Prudhvi",
this is not correct!
these are meant to be IDs
ok thank you i was trying
ok
I think you should start by reading this doc https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
it will get you started
im confused to read
Can you tell me how to put payment method as apple pay and customer name as prudhvi
Hi! I'm taking over from my colleague. Please, give me a moment to catch up.
Are you asking how to accept payments with Apple Pay on the Payment Element?
what is payment element
Are you following this guide?
yes
Payment Element is the UI component for accepting payments:
ok got it
in server side code for apple pay, How can i add payment method as apple pay
it should reflect as payment method in transaction history
in my sandbox account
You need to conform to these pre-requisites to see Apple Pay (you will see it on iOS and in Safari browser): https://stripe.com/docs/stripe-js/elements/payment-request-button?client=html#html-js-prerequisites
completed them already
And you don't see Apple Pay still?
i can see the apple pay, payment is incomplete
In transaction history of my test mode stripe account the payment method should be apple pay
Could you please share the PaymentIntent ID pi_xxx?
ok
Please delete this message immediately
Now you need to confirm the payment: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#web-submit-payment
ok