-
Notifications
You must be signed in to change notification settings - Fork 34
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
im in trouble with hyperpay flutter plugin #14
Comments
The error is coming from HyperPay's backend, and is indicating one of the parameters you sent in your request isn't allowed, perhaps you need to check with HyperPay support. |
thank you for replying , |
|
hyperpay/example/lib/checkout_view.dart Lines 40 to 55 in b0dbf0f
|
@> hyperpay/example/lib/checkout_view.dart Lines 40 to 55 in b0dbf0f
|
@pr-Mais |
i mean where to send |
Check the example app I posted above, all additional parameters can be sent in The plugin currently only supports Credit Cards (Master, VISA) and MADA entities. |
[HyperpayPlugin/getCheckoutID] HttpException: 400: {"result":{"code":"200.300.404","description":"invalid or missing parameter","parameterErrors":[{"name":"entityID","value":"my test entityId","message":"is not an allowed parameter"}]},"buildNumber":"01bd52148ce2598807fd43a4d36810f974eb028e@2022-04-01 07:48:59 +0000","timestamp":"2022-04-02 12:23:45+0000","ndc":"5B57484A2A9E90A0DF85D8C86427F6F1.uat01-vm-tx04"}
there is my code:
class TestConfig implements HyperpayConfig {
String creditcardEntityID = 'test entityId';
String madaEntityID = '';
Uri checkoutEndpoint = _checkoutEndpoint;
Uri statusEndpoint = _statusEndpoint;
PaymentMode paymentMode = PaymentMode.test;
}
Uri _checkoutEndpoint = Uri(scheme: 'https', host: _host, path: '/v1/checkouts', queryParameters: {
'currency': 'JOD',
'paymentType': 'DB',
});
The text was updated successfully, but these errors were encountered: