-
Notifications
You must be signed in to change notification settings - Fork 19
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
Error: 308 (BAD_PAYMENTMETHOD) #90
Comments
@alexanderwiden95 Any news on this one? |
Hi, Since the action is made on Svea's webpage the issue is more related to their service rather than the SDK. I've contacted the product owner at Svea to get some clarification. They will reach out to you with more information |
Okay. Just to clearify, this one uses usePayPageDirectBankOnly(). |
…08 BAD_PAYMENTMETHOD
…08 BAD_PAYMENTMETHOD
…08 BAD_PAYMENTMETHOD (cherry picked from commit 0ba57d3)
Hi, We're unable to reproduce the error following the code at #89 (but using |
Let me explain how this works. The API does not have a DirectBankOnly option. So to do this, the library adds all the methods possible and removes some handpicked ones. Because some of the methods no longer available in the api are still available in the library the user receives an error. Removing the no longer availabe options is the short term solution. Asking the API crew not to throw an error if an excluded option is already removed could ease the pain. But everytime a new method is added to the library, it will need to be excluded in DirectBankOnly. The long term solution is that Svea implements an option for directbank only in the API. I think you should escalate this back to the API developers. |
Testing direct bank finland I can access the payment page with usePayPageDirectBankOnly() rather than setting the bank.
But clicking the Nordea icon in the payment gateway immediately throws the customer back to the store with a response error:
How do I resolve this?
The text was updated successfully, but these errors were encountered: