#cedric_code
1 messages ¡ Page 1 of 1 (latest)
đ 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/1267723167083004067
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Are you using automatic payment methods on Payment Element? For example, is automatic_payment_methods.enabled: true (https://docs.stripe.com/api/payment_intents/object#payment_intent_object-automatic_payment_methods-enabled )?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
have not specified it
Did you specify payment_method_types in the Payment Intent creation request?
Could you share an example Payment Intent (pi_xxx), so that I can check how your integration works?
only option set are these
Apple Pay and Google Pay are parts of the card payment, so they have to be disabled explicitly in the wallets parameter.
Amazon Pay is a payment method itself, so disabling Amazon Pay should prevent it from showing in Payment Element. Are you seeing Amazon Pay in your Payment Element?
yes
we have a custom visualisation that we have developed
Do not want to show amazon
would like to custom that visualisation. As of now want to suppress the display of Amazon Pay pad
Have you disabled Amazon Pay in the Dashboard? If the Amazon Pay is disabled in the Dashboard, it shouldn't be seen since deferred intent flow uses automatic payment method by default
If Amazon Pay is disabled in the Dashboard and still show in the Payment Element, can you share your public accessible URL, so that I can look into it further?
we have enabled it on the dashboard. The team is experimenting with that payment method. However, we would like to control the visibility of amazon pay on the frontend
If you use to control the payment method types on the frontend, then paymentMethodTypes should be used: https://docs.stripe.com/js/elements_object/create_without_intent#stripe_elements_no_intent-options-paymentMethodTypes
Amazon Pay should be excluded from payment_method_types
https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-wallets amazonPay isn't a valid param based on the API reference.
Can you share with me the ID of the paymentIntent?
I don't see amazonPay in its payment_method_types