dozymoe / payment_midtrans

Odoo addons for Midtrans payment gateway (https://midtrans.com)
2 stars 10 forks source link

Not Work on Odoo 11 #1

Open znry27 opened 5 years ago

znry27 commented 5 years ago

Hi after testing this module on Odoo 11, i found some problem :

  1. acquirer_id not found in js file, so this code execute => alert('payment_midtrans got invalid acquirer_id');
  2. /shop/payment/transaction/ controller need so_id as url parameter but this module send acquirer_id
  3. Snap Midtrans need base64(server_key) as AUTH_STRING on Request Header, but this module not send it
  4. snap.js not finished to load, but already call snap.pay() function

I have edited this module and tested on Odoo.sh on this github https://github.com/znry27/odoo_sh

please review if i have a mistake.

Thank for sharing.

dozymoe commented 5 years ago

This module is no longer maintained. I am planning on selling the latest version in odoo apps. If you approve, I can link to your version from my project's documentation/homepage.

znry27 commented 5 years ago

Ok. Please link to this repository https://github.com/znry27/payment_midtrans

chaturap commented 4 years ago

nice module, working on odoo10, but there is an issue when the login does not use the administrator failed to redirect to the payment page,