URL response payment from globalpaymnet to Odoo

455 Views Asked by At

i am trying to implement a hpp full redirect to realex payment from Odoo, the transaction is successful but it does not redirect to my website neither giving any response. Here is my code:

<template id="global_form">
            <input type="hidden" name="data_set" t-att-data-action-url="tx_url" data-remove-me=""/>
            <input type="hidden" name="TIMESTAMP" t-att-value="timestamp"/>
            <input type="hidden" name="MERCHANT_ID" t-att-value="merchant_id"/>
            <input type="hidden" name="ACCOUNT" t-att-value="account_id"/>
            <input type="hidden" name="shared_secret" t-att-value="shared_secret"/>
            <input type="hidden" name="ORDER_ID" t-att-value="order_id"/>
            <input type="hidden" name="AMOUNT" t-att-value="global_amount"/>
            <input type="hidden" name="CURRENCY" value="CAD"/>
            <input type="hidden" name="AUTO_SETTLE_FLAG" value="1"/>
            <input type="hidden" name="COMMENT1" value="Mobile Channel"/>
            <input type="hidden" name="HPP_VERSION" value="2"/>
            <input type="hidden" name="HPP_CHANNEL" value="ECOM"/>
            <input type="hidden" name="HPP_LANG" value="en"/>
            <input type="hidden" name="SHA1HASH" t-att-value="SHA1HASH"/>
            <input type="hidden" name="HPP_POST_RESPONSE" value="http://localhost:8069"/>
            <input type="hidden" name="MERCHANT_RESPONSE_URL" value="http://localhost:8069/">



        </template>

This how it works using Odoo, I ma not getting any response with any of HPP_POST_RESPONSE or MERCHANT_RESPONSE_URL. Note that i have full acces to the merchant site in globalpaymnet. Thanks.

image

0

There are 0 best solutions below