jonasbark/flutter_stripe_payment

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

rgtstha opened this issue · 8 comments

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

Same issue here

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

@TiJnAr : Can you post your code snippet?

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

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.

any resolution yet?

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.

For those who wanted a code snippet:

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