You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The initial payment is very similar to a regular card payment at the payment gateway. The only difference is that in the e-shop the customer chooses to store the card for the next payment. It is absolutely necessary to obtain this consent and at the same time it is not allowed to hide the consent - the consent must always take place by active customer selection ("check boxes checked by default" are not allowed). After obtaining approval, you indicate to the payment gateway when creating the payment that you want to create a template for OneClick payment (see also the API documentation of the payment/init). If this initial payment is successfully authorised, the payment gateway creates a template, which it identifies using the payID of the initial payment.
In the API the flow is as follows:
oneclick/init requires origPayId as param, however where do i get this ?
Using the java example provided in the repository , i tried to:
But it doesnt work and still return status code 700 - template not found.
Going straight for oneclick/init also doesnt work.
So what is the process of obtaining the origPayId / creating it?
Thanks.
The text was updated successfully, but these errors were encountered: