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

chinaunionpay cannot pay #2060

Open
yikeba opened this issue Feb 2, 2025 · 0 comments
Open

chinaunionpay cannot pay #2060

yikeba opened this issue Feb 2, 2025 · 0 comments
Labels
needs triage Needs triage

Comments

@yikeba
Copy link

yikeba commented Feb 2, 2025

final paymentMethod = await Stripe.instance.createPlatformPayPaymentMethod(
params: PlatformPayPaymentMethodParams.applePay(
applePayParams: ApplePayParams(
cartItems: [
ApplePayCartSummaryItem.immediate(
label: pobj.paystr,
amount: locamount,
),
],
merchantCountryCode: countryCode,
currencyCode: "HKD",
additionalEnabledNetworks: ["chinaUnionPay","JCB", "barcode",'visa', 'masterCard'],
// additionalEnabledNetworks: ['visa', 'masterCard', 'chinaUnionPay'],
merchantCapabilities: [
ApplePayMerchantCapability.supports3DS,
ApplePayMerchantCapability.supportsCredit,
ApplePayMerchantCapability.supportsDebit,
ApplePayMerchantCapability.supportsEMV
]
),
),
);

To Reproduce

Unable to use chinaunionpay for payment normally, ios prompts to change payment method

Expected behavior
If you can use pay 3.1.0 to achieve normal payment with chinaunionpay, the token will be returned, but the token cannot be converted.

final token = await Stripe.instance.createApplePayToken(paymentResult);===error

Smartphone / tablet

  • Device: IPhone15
  • OS: [e.g. iOS 18, Android 10]
  • Package version: [11.4]
  • Flutter version [3.245]
@yikeba yikeba added the needs triage Needs triage label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Needs triage
Projects
None yet
Development

No branches or pull requests

1 participant