Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: build not approved because Apple Pay misses " Merchant's name on the payment sheet" #143

Closed
ciccilleju opened this issue Jan 1, 2022 · 6 comments

Comments

@ciccilleju
Copy link

hello,
i was submitting a bug fixing to my app already present in the iOS store but today they refused it because of this message:
image

this is my code related to Apple Pay:

`async createApplePay(): Promise {

let requestUrl = this.generateStripeIntentWallet;
let postData = { idOrdine: this.idOrdine };
this.http.doPostApplicationJsonBearer(requestUrl, postData, this.myService.tokenValue).subscribe((res => {
  this.paymentIntent = res.id;
  Stripe.createApplePay({
    paymentIntentClientSecret: res.client_secret,
    paymentSummaryItems: [{
      label: this.utilsOmbrelloniProvider.idOrdine,
      amount: this.utilsOmbrelloniProvider.totale
    }],
    merchantIdentifier: 'mymerchant.xxxxxx',
    countryCode: 'IT',
    currency: 'EUR',
  }).then(() => {
    Stripe.isApplePayAvailable().then(() => this.isApplePayAvailable = true);
  }).catch(error => {
    console.log(error);
  });

}));

}`

this is what i found in the iterface:
export interface CreateApplePayOption { paymentIntentClientSecret: string; paymentSummaryItems: { label: string; amount: number; }[]; merchantIdentifier: string; countryCode: string; currency: string; } export interface CreateGooglePayOption { paymentIntentClientSecret: string; }

I don't see any variable related to the merchant's name.

How can I solve this problem with Apple? There is any way to set Merchant's name on the payment sheet?

image

@rdlabo
Copy link
Member

rdlabo commented Jan 5, 2022

This seems solved issue: #115

@ciccilleju
Copy link
Author

excellent,

thank you so much,

i'll send a new build right now!

fingers crossed :)

@rdlabo
Copy link
Member

rdlabo commented Jan 19, 2022

@ciccilleju Did you adapt this plugin for production? If yes, please tell us what app. Please help us to develop this plugin in 2022.
#145
Thanks.

@ciccilleju
Copy link
Author

ciccilleju commented Jan 19, 2022

@ciccilleju Did you adapt this plugin for production? If yes, please tell us what app. Please help us to develop this plugin in 2022. #145 Thanks.

hello! I thik 've solved adding our app name to "label"
label: "Sunset Beach App " + orderId

@rdlabo
Copy link
Member

rdlabo commented Jan 19, 2022

@ciccilleju Hi, thanks for quick response! We want to know your app infomation.
If possible, please write to #145 . Thanks.

@ciccilleju
Copy link
Author

@ciccilleju Hi, thanks for quick response! We want to know your app infomation. If possible, please write to #145 . Thanks.

Will do within one hour

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants