Apple pay - How to add merchant name in payment sheet?
rgtstha opened this issue · 8 comments
Same issue here
@ldemyanenko I was able to fix this issue by adding the total amount as the second item.
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', ...
)],
...
```