Comments (12)
from flutter-sdk-bridge.
I tested it on 2 devices: Xiaomi mi mix 3 & AVD (Pixel 3a API 29).
The issue occurs in both devices.
from flutter-sdk-bridge.
Hello
Did you receive anything from the flutter cllback
It may be some validation error which returns to you through the callback
from flutter-sdk-bridge.
Hello Mohamed,
Thanks for your response.
I printed the callback result and I got this error:
{code: -1, data: null, message: Invalid merchant country code (it should be alpha-2 ISO code), status: error}
My config is as follows:
var configuration = PaymentSdkConfigurationDetails( profileId: "myid", serverKey: "secret-secret-secret", clientKey: "secret-secret-secret-secret", cartId: "25", cartDescription: "cart desc", merchantName: "Mhd", screentTitle: "Pay with Card", billingDetails: billingDetails, shippingDetails: shippingDetails, locale: PaymentSdkLocale.EN, amount: 20.0, currencyCode: "SAR", merchantCountryCode: "SA", );
What is the correct alpha-2 ISO code for Saudi Arabia?
from flutter-sdk-bridge.
from flutter-sdk-bridge.
OK, thanks.
Please do let me know once you find the cause of the problem :)
from flutter-sdk-bridge.
Hello , Could you please tell me what device you are using to reproduce this issue, and do me a favor and try on another device and let me know.
from flutter-sdk-bridge.
We've published a new version 2.0.2-beta, please upgrade your version and try again
from flutter-sdk-bridge.
I upgraded the library to flutter_paytabs_bridge: ^2.0.2-beta
Nothing has changed.
{code: -1, data: null, message: Invalid billing country code, status: error}
from flutter-sdk-bridge.
from flutter-sdk-bridge.
I thought the problem was from the config object! Didn't know that the address object was causing it!
Thank you very much Mohamed for your help!
from flutter-sdk-bridge.
from flutter-sdk-bridge.
Related Issues (20)
- Primary Font Color does not change in Ios.
- the sdk return different data in iOS and android HOT 1
- Hide card scanner HOT 1
- PaymentSdkTransactionType doesn't have all cases
- Where to add the call back url? HOT 2
- Authentication Failed. Check authentication header HOT 1
- Error: Request must be in json format with content type application/json HOT 2
- Attempt to present which is already presenting <PKPaymentAuthorizationViewController: 0x11e1f6a50> HOT 2
- Change statusbar background color HOT 1
- [log] {message: Unable to process your request, status: error, code: 0} HOT 1
- When I add the package Getting error in Android release
- app crash in android Caused by: java.security.UnrecoverableKeyException: Failed to obtain information about key
- Clicked on scan card icon and app crashed on android HOT 2
- Primary Font Color does not change in Ios
- Save Card for Future payment button not working. HOT 1
- Can't build ios build HOT 1
- Unable to test apple pay in Egypt (or any region not supported by apple pay)
- Validation in iOS ? HOT 4
- Authentication failed. Check authentication header HOT 9
- 202 - Invalid card security code (CVV) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-sdk-bridge.