Skip to Content
Menú
This question has been flagged
1860 Vistes

I've made a custom payment acquirer but it not go to destination website and has no error just pending :

<odoo>
<template id="behpardakht_form">
<div>
<input type="hidden" name="data_set" t-att-data-action-url="tx_url" data-remove-me=""/>
<input type="hidden" name="reference" t-att-value="reference"/>
<input type="hidden" name="amount" t-att-value="amount"/>
<input type="hidden" name="currency" t-att-value="currency.name"/>
div>
template>
odoo>

where should i define the destination url ?

when i push the button pay now it goes to /shop/payment/transaction/ with status 200 but stay still in my website without any action

Avatar
Descartar
Autor

By moidifying the source code and straggling eventually i made it to go to the destination website. But it doesn't send any request to destination api how can i send json with it ?

Related Posts Respostes Vistes Activitat
2
d’ag. 22
11782
3
de febr. 24
2815
1
de nov. 20
10083
1
de set. 20
3019
2
de maig 20
5133