#TheMechanic

1 messages ยท Page 1 of 1 (latest)

hasty sirenBOT
sacred pagoda
#

Hello ๐Ÿ‘‹
Toby had to step away, Can you provide more information?

rich pilot
#

I can provide you a temproray url for checking if you need it

sacred pagoda
#

Sure

rich pilot
sacred pagoda
#

If possible can you make those billing fields optional? Would save me/us a lot of time jumping through the form ๐Ÿ™‚

#

Looking though

rich pilot
#

kind of difficult, but i can give you an account to connect to

sacred pagoda
#

Here's what I am seeing

rich pilot
#

and ill give you the otp

#

yes that's it !!!

#

and i don't get why

sacred pagoda
#

and without the iframe it works fine?

rich pilot
#

yes we did some tests previously and it seems too be related to the iframe context

#

(but it supposed to be supported by strip now)

sacred pagoda
#

What element are you using? Express Checkout Element or PaymentRequestButton?

rich pilot
#

<PaymentRequestButtonElement options={{ paymentRequest, style: { paymentRequestButton: { type: 'buy', theme: 'dark', height: '4rem', // @ts-expect-error invalid type from stripe, present in stripe docs borderRadius: '1.875rem', }, }, }} />

#

and :

#

`const pr = stripe?.paymentRequest({
country: cart?.shipping?.address?.countryCode ? cart?.shipping?.address?.countryCode : 'FR',
currency: cart?.currency?.toLowerCase() ?? 'eur',
total: {
label: 'JUST',
amount,
},
requestPayerName: true,
requestPayerEmail: true,
disableWallets: ['link', 'browserCard'],
});

  // Check the availability of the Payment Request API.
  pr.canMakePayment().then((result) => {
    if (result) {
      setPaymentRequest(pr);
      const wallets: string[] = [];
      for (const key in result) {
        if (result[key]) {
          wallets.push(key);
        }
      }
      changeWallets(wallets);
    }
  });

  pr.on('paymentmethod', async (ev) => {
    setPaymentMethodStripeEvent(ev);
  });`
sacred pagoda
#

Can you confim if you've registered the domain?

rich pilot
#

yes it's registered, in prod and in test (to be sure..)

sacred pagoda
#

can you share the account ID?

rich pilot
#

this is the domain id :pmd_1O1qVxFq1BiPgN2KCZVgoViC

#

and the account_id: acct_1JmfKA2ElmJlZA7Z

sacred pagoda
#

thanks, have asked a colleague to look into this too

#

we'll respond as soon as we have something

rich pilot
#

ok thanks !

hasty sirenBOT
sacred pagoda
#

Okay, so it seems like you've registered the domain you're iframing but you've not registered the domain where you're rendering this iframe