This question has been flagged

I'm trying to configure a custom payment acquirer.

I've created the payment method and selected the manual configuration, I've copied the default_acquirer_button template and configured in the following way:

 t t-name="payment.my_acquirer_button"
    form t-attf-action="[partener url]" method="post" 
        input name="param1" t-att-value="param1" /
        input name="param2" t-att-value="param2" /
    /form
 /t

(sorry I had to remove "<" ">" because the forum was interpreting  my code.....)

I can see the payment method in the list of payment available with it's icon, but if I selec the new payment acquirer and click on Pay now button, I'm not redirect in the partner website and nothing happen.

But I can see the transaction in the transaction history on odoo and in the log I've the sql log line.

Can anyone help me to configure a custom payment acquirer? I've looked for documentation on the official website and also in the forum, there are some similar question but there is not a clear solution/guide.

Avatar
Discard