#ravinder_api

1 messages ยท Page 1 of 1 (latest)

sharp tundraBOT
plucky breachBOT
#

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.

sharp tundraBOT
#

๐Ÿ‘‹ 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/1242822928643657781

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

latent jacinth
#

Payment element renders in tab on stripe doc

#

why i am not getting same result locally with either live or test mode publishable key

ionic burrow
#

Can you share the intent ID you're using to initialise the Element (pi_xxx)

sharp tundraBOT
latent jacinth
#

i am using differ method that me setting amount while setup elemen

#
const StripePaymentMethod = ( props ) => {
    const { eventRegistration, emitResponse, billing, stripePromise } = props;
    const { cartTotal, currency } = billing;

    const stripeElementOptions = {
        mode: 'payment',
        amount: cartTotal.value,
        currency: currency.code.toLowerCase(),
        paymentMethodCreation: 'manual',
    };

    return (
        <Elements stripe={ stripePromise } options={ stripeElementOptions }>
            <TestModeNotice />
            <PaymentElement />
            <CheckoutHandler
                eventRegistration={ eventRegistration }
                emitResponse={ emitResponse }
                billing={ billing }
            />
        </Elements>
    );
};
#

i got this url from browser network tab, i hope it will help you

ionic burrow
latent jacinth
#

response for request

ionic burrow
#

Payment Element will dynamically render the available methods according to those settings and payment parameters

ionic burrow
#

If it's the call to /v1/elements/sessions

latent jacinth
#

req_8Moyz1lVfXn05n

#

i got it โ˜๏ธ

ionic burrow
#

Thanks! Checking

#

Which PMs are you expecting to see, specifically?

#

Apple Pay etc?

latent jacinth
#

at leat amazonpay

#

is Link available in india?

ionic burrow
latent jacinth
#

apart from Card payment method what do you support for INR

ionic burrow
ionic burrow
latent jacinth
#

i want to see if multiple payment method display to customer

#

but i did not get success

#

got it

#

can you help to figureout?

ionic burrow
#

Yep, still looking

latent jacinth
#

thank you

ionic burrow
#

Hmm, I actually don't think Amazon Pay is enabled for the relevant account (acct_1HAi7MIqONfMPfff) in this scenario. This is a Connect payment, so the configuration is set on the platform (acct_1OWmbwEY6KIZiMBQ)

latent jacinth
#

checking

#

it is on

dense mist
#

Which payment method are you referring to?
Amazon Pay seems off in the screenshot

latent jacinth
#

link

dense mist
#

Where are you testing from? I suspect we're filtering payment method based on the location..

latent jacinth
#

is ti possible to add local domain?

dense mist
#

No, I think it requires HTTPS scheme.
Try using something like ngrok tunneling

latent jacinth
#

do we have api param to mimic customer location?

#

as we are doing in this display

dense mist
#

No.. You could try using a VPN but that may still not work depending on VPN/proxy config.