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

[BUG] #4355

Open
wxw962530118 opened this issue Dec 13, 2024 · 3 comments
Open

[BUG] #4355

wxw962530118 opened this issue Dec 13, 2024 · 3 comments
Labels
kind:bug triaged Issue has been reviewed by Stripe and is being tracked internally

Comments

@wxw962530118
Copy link

wxw962530118 commented Dec 13, 2024

Snipaste_2024-12-13_23-14-46 I wanted to configure multiple merchantCapabilities, but after I initiated Apple Pay, an error occurred inside stripe as shown in the figure
@joyceqin-stripe
Copy link
Collaborator

Hi @wxw962530118, it seems that EMV is only allowed if you have UnionPay enabled and the card is Unionpay. I'm not sure why this is the case— I'm waiting for more details, and I'll let you know if I find out more.

@joyceqin-stripe joyceqin-stripe added the triaged Issue has been reviewed by Stripe and is being tracked internally label Dec 13, 2024
@wxw962530118
Copy link
Author

Hi @wxw962530118, it seems that EMV is only allowed if you have UnionPay enabled and the card is Unionpay. I'm not sure why this is the case— I'm waiting for more details, and I'll let you know if I find out more.

Well, currently developed apps in Chinese Mainland need to use UnionPay card to test apple pay, but for the merchant capabilities parameter not set to PKMerchant CapabilityEM, the didAuthorizePayment method will not be called after the password is entered in apple pay, so it needs to be set, but your stripsdk will report an error: Payment failed: Optional(StripeCore.StripeError.apiError(StripeCore.StripeAPIError(type: StripeCore.StripeAPIError.ErrorType.invalidRequestError, code: nil, docUrl: nil, message: Optional("Your PKPaymentRequest.merchantCapabilities needs be set to the value: PKMerchantCapability3DS."), param: nil, statusCode: Optional(400), requestID: Optional("req_kEOMkceTzFpiNv"), _allResponseFieldsStorage: Optional(3 fields))))

@yuki-stripe
Copy link
Collaborator

cc @seanzhang-stripe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug triaged Issue has been reviewed by Stripe and is being tracked internally
Projects
None yet
Development

No branches or pull requests

3 participants