Closed mk-nickyang closed 2 months ago
Hey @mk-nickyang, I took a look into this and can confirm that It's not an issue with the React Native library but instead an internal one. I've created a ticket internally to fix this. I'll report back with any progress made.
Apologies if you get any pings from Shop Pay on your phone while we reproduce this.
@markmur Thank you so much for the quick update!
And no worries about the Shop Pay code, glad I'm not brute-force attacked 😄
Hello @markmur 👋
I'm facing the same issue.
I'm using the cartBuyerIdentityUpdate
mutation to update buyer infos
Here's what I pass as input to this mutation:
const input = {
cartId: cart.id,
buyerIdentity: {
email: user.email,
phone: user.phone,
countryCode: address.country as CountryCode,
deliveryAddressPreferences: [
{
deliveryAddressValidationStrategy: DeliveryAddressValidationStrategy.CountryCodeOnly,
deliveryAddress: {
firstName: user.firstName,
lastName: user.lastName,
address1: address.street,
zip: address.postalCode,
city: address.city,
country: address.country,
},
},
],
},
};
There's no errors returned by the mutation.
Everything is legit on my internal user
and address
objects, but for some reasons, the address cannot be prefilled on the checkout screen, only the email field is prefilled. And I see this following error
Any idea?
Shop domain
Thanks for your help
Facing the same issue, the address and user cannot be prefilled on the checkout screen even after updating the buyerIdentity every time. Kindly update ASAP.
@markmur Any update on this issue? I tried after implementing multipass also. In the first load, the webview loads with the user being logged in. But when we load the webview, the second time, it asks for login.
Hi @koulomesh, would you mind creating another issue outlining how you're creating checkout URL via the storefront API?
This issue is not related to multipass.
Created a new issue @markmur .
I am also facing the same issue
It's been 2 months, is there any remediation regarding this issue? cc @markmur
I'm also facing the same issue, Any updates?
Same issue
A fix for this has been rolled out. Apologies for the delay.
Please report back if you continue to encounter this issue.
Describe the bug
I have
email
buyer identity data in Cart,when I call
shopifyCheckout.present(checkoutUrl)
, email field is still empty.I'm using the
cart
query in Storefront API to get thecheckoutUrl
btw.To Reproduce
buyerIdentity
datashopifyCheckout.present(checkoutUrl)
buyerIdentity
data is pre-filledExpected behavior
buyerIdentity
data in Cart should be pre-filled in CheckoutScreenshots/Videos/Log output
@shopify/checkout-sheet-kit
(email is not pre-filled)https://github.com/Shopify/checkout-sheet-kit-react-native/assets/29244509/6e2c13bf-eb90-4355-a3b4-0c69875e67bf
checkoutUrl
in Web (email is pre-filled)https://github.com/Shopify/checkout-sheet-kit-react-native/assets/29244509/6264ca9c-054f-4469-8393-c41732cac2d5
Versions
@shopify/checkout-sheet-kit
version2.0.0
Shop domain
https://apawfectplace.com.au/
Additional context
Appreciate your time on this issue, let me know if there is anything else you need. Amazing work on this package!