Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2469 Näkymät

Hi everyone,

I am developing a payment acquirer for an eCommerce site. I have prepared payment form to include proper fields including tx_url for the API and prepared acquirer_form_generated_values properly.

Posting of data to the API is working however API refuse it due to certain standards. My issues are;

1. API does not accept http payloads instead it only accepts json payloads. But odoo payment form tx_url default mechanism is http post only!

2. how to pass http header information for payment form from the acquirer_form_generated_values method?

3. The API mechanism is to send initialize post first and in response I receive payment page redirection_url. So the first call is to API and response is for redirection. How to set redirection_url in payment form after response?


Appreciate your kind assistance.

Best regards

Suraj


Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
marrask. 20
3487
1
maalisk. 20
3209
2
syysk. 24
4411
2
maalisk. 22
5158
3
tammik. 25
3464