Closed DmitryGolubev closed 1 year ago
Hello Dmitry,
We had a closer look on your issue and the sample code you've provided. First thing that came to our attention is that you are instantiating a CardPaymentMethodSpecificInput where the PaymentProduct is being set but this object is never assigned to the CreatePaymentRequest object.
Another thing which is more important is that in order to make a basic create payment it is not enough to use Order with AmountOfMoney but also you'll have to assign a Customer object with proper Device in it.
You can find more info about the CreatePayment scenarios on our API Explorer site.
Let us know if this helps.
Hello @DmitryGolubev,
We haven't got your feedback on the instructions provided from our side regarding your issue. We hope that the information was useful and you were able to resolve the issue you've reported.
We are going to close this issue for now. If you are still experiencing the same or similar issue please feel free to create a new issue and provide the details for it.
Thanks for the understanding. Kind regards
Hello.
We do integration with Payone platform according to the scheme Mobile/Client Integration. We have implemented an IOS mobile app with sdk and backend system with sdk respectively. Currently we have started testing our integration using a test account. We are getting an error from the Payone API server side when making a payment. For testing we are using dummy cards(VISA, MasterCard) from the page. What could be the error?
For testing we use the host https://payment.preprod.payone.com/.
Java Create Payment code:
Payone API create payment response: