#TheMechanic
1 messages ยท Page 1 of 1 (latest)
Hi Hanzo !
Here is our past conversation with Toby : https://discord.com/channels/841573134531821608/1163462661653135430
I can provide you a temproray url for checking if you need it
Sure
https://p3mc5t4y9cyuoqgb-64917995746.shopifypreview.com you can click on "buy now with 1-click", then enter a random email, informations, and you'll be able to try pay with google pay (it's test environment of course)
If possible can you make those billing fields optional? Would save me/us a lot of time jumping through the form ๐
Looking though
Here's what I am seeing
and without the iframe it works fine?
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)
What element are you using? Express Checkout Element or PaymentRequestButton?
<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);
});`
Can you confim if you've registered the domain?
yes it's registered, in prod and in test (to be sure..)
can you share the account ID?
this is the domain id :pmd_1O1qVxFq1BiPgN2KCZVgoViC
and the account_id: acct_1JmfKA2ElmJlZA7Z
thanks, have asked a colleague to look into this too
we'll respond as soon as we have something
ok thanks !
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