#gokul-raj_code

1 messages ¡ Page 1 of 1 (latest)

quiet tulipBOT
#

👋 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/1267724665342787675

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

stoic novaBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

raven light
raven light
#

I'm able to see Apple Pay on your website

#

What is the issue you're facing?

quiet tulipBOT
versed jewel
#

Either you do not have a card saved to your Wallet or the current domain (bce1-2406-b400-b4-ed71-d89d-cdd5-5be5-5af6.ngrok-free.app) or stripeAccount parameter (acct_19o4IFJv9j0DyntJ) is not registered for Apple Pay.

#

For my other domain i can see apple pay button, i have necessary setup for the wallet

gentle nova
#

Hi @versed jewel I'm taking over this thread

#

And yes I can see Apple Pay as well. Have you added a valid card to your Apple pay wallet?

versed jewel
#

yes, i am using sandbox sandbox apple pay account.

#

4761 2099 8001 1439
Expiration Date: 01/27
CVV: 466
test card

gentle nova
#

Hmm, not sure if sandbox apple pay account works. Do you have an apple pay wallet account that contains actual cards?

#

Don't worry you won't be charged in test mode, even with actual cards/

versed jewel
#

No, since we are using stripe test account and sandbox apple pay account is configured it should work
it is working for my other domian

gentle nova
#

Can I suggest you set up an actual card in your wallet, and try again?

restive shoal
#

Hi @gentle nova
I'm taking over this thread

#

we have never used an actual card, and since it is working for other domain so It doesn't seems a card issue

#

I tried adding actual card but getting below error, since we are from india so I think apple pay is not supported for our cards.

gentle nova
#

Yes you are right, Apple Pay isn't supported in India.

restive shoal
#

it's not supported for our card but for testing we use sandbox apple pay and manually changing region to US, so we are able to test apple pay

gentle nova
#

https://support.stripe.com/questions/supported-payment-methods-currencies-and-businesses-for-stripe-accounts-in-india not only that, Google Pay and Apple Pay unavailable for merchants and customers in India on Stripe Checkout and Stripe Elements.

restive shoal
#

no since we have manually set region to US in mac , so we are able to use apple pay

#

@gentle nova what should be the content type response header of apple-developer-merchantid-domain-association ? and is apple pay depends on this?

gentle nova
#

I beleive your apple pay setup is in place. It's just that you can't test Apple Pay from India.

restive shoal
#

no, as I told you we have manually set region to US in our system and it's working for other site

gentle nova
#

I'm not sure about other sites, but for Stripe we don't support Apple Pay in India.

#

I'd recommend you get someone from an Apple Pay supported country to test the same integration.

restive shoal
#

it's working for same stripe account for me

gentle nova
#

Looks like you are using service from Chargebee, not Stripe.

restive shoal
#

but internally we are using stripe only

quiet tulipBOT
mental basin
#

What do you mean by this? Where are you using Chargebee then?

restive shoal
#

we are using chargebee and chargebee is internally using stipe
but even if I directly run below code, it is returning null

     const stripeInstance = window.Stripe('publishable_key', {
    stripeAccount: 'stripeAccountid'
  })
 var paymentRequest1 = stripeInstance.paymentRequest({
  country:
    'US',
  currency: 'usd',
  total: {
    label: 'Total',
    amount: 100,
  },
})
paymentRequest1.canMakePayment().then((result) => {
  console.log(result)
})
mental basin
#

Sorry, I don't really understand what is your situation. It seems like you're using Chargebee, Payment Element and Payment Request. What are you actually trying to achieve?