#Altrollique

1 messages · Page 1 of 1 (latest)

uneven sailBOT
glad atlas
#

Hi there!

#

Where exactly do you see this error? It's Apple that sends this to you when you try to submit your app?

median mortar
#

Yes exactly, it's in their response for our app submission to App store

#

I saw the issue on github and we do this :

const response = await presentApplePay({
            cartItems: [
                {
                    label: "Bik’air SAS" +"-"+t("payment.add_card"),
                    amount: "0.00",
                    paymentType: "Deferred",
                    deferredDate: Date.now(),
                },
            ],
            country: CONFIG_PAYMENT.country,
            currency: CONFIG_PAYMENT.currency,
        });
glad atlas
#

Thanks for the clarification, give me a few minutes to look into this.

steel peak
#

Hi there 👋 apologies for the delay. I'm jumping in to lend a hand,

#

When you do your payments Tests, are you seeing your Company name in the Apple Pay popups ? like "Example Inc." in this screenshot

median mortar
#

I'll look into it and come back to you

#

In our code we use useApplePay and not useStripe to get method relative to this. You recommand using useStripe instead ?

#

Does this implementation allow use to init a payment of 0€ in order to retrieve payment info and create a setup intent to register the card in stripe for future use. We what to use apple pay only to register the card and they do payment to our service when needed directly with your api and the payment method registered with your api.

steel peak
median mortar
#

ok thank you I look into it and come back if I have other question. Thank you

steel peak
#

Otherwise just a quick hint, when calling presentApplePay why are you using :

paymentType: "Deferred",
deferredDate: Date.now(),

and not just

paymentType: "Immediate",

?

median mortar
#

Well I wasn't the one writing it so I can't tell you but thank you for the hint I'll forward this to the other dev.

#

Thank you

steel peak
#

You're welcome 🙂