jonasbark / flutter_stripe_payment

[DISCONTINUED] A flutter plugin with stripe payment plugin integration
MIT License
307 stars 243 forks source link

Apple pay - How to add merchant name in payment sheet? #310

Open rgtstha opened 3 years ago

rgtstha commented 3 years ago

Apple store is rejecting my application because of not adding merchant name in payment sheet after 'pay' in top left corner. Is there any configuration needed to display merchant name in the payment sheet? Screen Shot 2021-06-23 at 12 07 08

ldemyanenko commented 2 years ago

Same issue here

rgtstha commented 2 years ago

@ldemyanenko I was able to fix this issue by adding the total amount as the second item.

ketancts commented 2 years ago

@tijnar : Can you post your code snippet?

dhrubneo commented 2 years ago

In order to add merchant name do we need to make changes in the flutter code? I am also facing the issue, apple is not allowing to go in production. Please assist here

ndesamuelmbah commented 1 year ago

Any updates on this issue? I am using the Pay package and the merchant name is not displayed. As a result, my app is not able to pass the review and be in production.

Malik056 commented 1 year ago

any resolution yet?

top-kat commented 1 year ago

Hi, I just noticed that if the payment is not Immediate, the name will not appear. The text that will appear is also the label of the last item in the cart description.

I hope it will help, unfortunately I am not working with flutter but I think the stripe lib is maybe working the same way.

bkoznov commented 10 months ago

For those who wanted a code snippet:

Stripe.instance.confirmPlatformPayPaymentIntent(
        clientSecret: clientSecret,
        confirmParams: Platform.isIOS
            ? PlatformPayConfirmParams.applePay(
                applePay: ApplePayParams(
                cartItems: [..., ApplePayCartSummaryItem.immediate(
        label: '$MERCHANTNAME', ...
        )], 
        ...