#Nidhi-apple-pay
1 messages · Page 1 of 1 (latest)
select bar2 -> select indian Cafe -> select time -> add item to cart -> checkout -> click Pay by Credit/Debit/Wallet
Thank you, and just to make sure I understand, it looks like you embedded the Payment Element in that portion of your checkout flow?
yes
we have done both elements and independent buttons just to verify if apple pay is working with one or the other
but it worked for none
When you verified your Apple Pay domain, did you do that with your live or test Stripe api key?
I'm suspecting that you used your test key, and believe that if you do so with your live key then this behavior will be resolved.
we are verifying through code - tested with both live and test keys
var paymentIntent = paymentIntentService.Create(x);
_cart.client_secret = paymentIntent.ClientSecret;
HttpContext.Session.SetObjectAsJson("MyCart", _cart);
var options = new Stripe.ApplePayDomainCreateOptions
{
DomainName = "qasim.techryde.ca",
};
var service = new Stripe.ApplePayDomainService();
var domain = service.Create(options);
I see that verification code is near code relating to a Payment Intent, are you verifying your domain as part of your flow for each payment?
This was just for testing
Currently, I'm seeing the domain of the checkout page that you provided was registered in test mode, but our Apple Pay integration requires that the domain be verified using your live mode key.
Client secret isn't part of the Apple domain verification process.
Have you tried verifying your domain through the dashboard? That may be easier, bottom section of this article:
https://support.stripe.com/questions/enable-apple-pay-on-your-stripe-account