#Giriraj
1 messages · Page 1 of 1 (latest)
Hi there, what do you mean by doing it seprate?
Ok, so you want to remove the Apple Pay option from paymentElement?
currently when someone click on add new card button it's showing like above screenshot.
yes, i want to remove from paymentElement
Add a PaymentRequestButton. see https://stripe.com/docs/stripe-js/elements/payment-request-button
but here how can i pass never?
it's react js code
Through the options prop, for instance
id="payment-element"
options={{
wallet: ...
}}
/>```
i have alredy used Elements for card so, again i need to add Elements for apple pay?
@north path
So you have removed apple pay from Payment Element, the next step is to add a PaymentRequestButton. see https://stripe.com/docs/stripe-js/elements/payment-request-button
can you guide me step by step? with react js code?
Yes. Apple Pay isn't availble if you are from India even if you are using a non-Indian based Stripe account
I won't be able to provide you the step-by-step, please refer to the doc that I sent earlier and come back if you have any follow-up quetions
can you provide me india's stripe test account?
What do you mean?
i mean stripe login credantials
You mean you can't find your login credentials?
no, i mean can you provide me indian login credantials for stripe?
if i have indian login then apple pay works right?
I still struggle to understand you, and I don't quite see the connection between a Indian login and Apple Pay.
Or can you tell what problem you are trying to resolve?
i m not clear with this link
Which part of the doc that you don't understand need more help with?
it's return me paymentRequest error
As the error message explain, it's expecting a paymentRequest object but you specified null.
ok checking same think
i have add this
but still paymentRequest return null
how can i test it?
i have enabled link, apple pay and google pay
apple pay and google pay is not work in india but link should work.
What does the log print?
So the result is null
yes
?
I don't think Link is available in India yet
here
oh
is there any way to check how's result will come?
Can you tell me what problem that you are currently trying to solve?
if i add above code. but i need to set proper UI. without button i can't able to update UI of my design.
We currently do not support Google Pay and Apple Pay on Stripe Checkout and Elements for Stripe accounts and customers in India.
I'm afraid that you can't acess Google Pay or Apple Pay if you are from India.
oh
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!