Commit Graph
3 Commits
Author SHA1 Message Date
Tommy (tong) 25dbddc945 [IMP] payment_asiapay: update api_url based on country
Issue:

Merchant account created inside Philippine will use PesoPay,
created inside Thailand will use SiamPay, and created inside
Indonesia will use BimoPay. Currently. only PayDollar is
available.

Cause:

Missing PesoPay, SiamPay and BimoPay.

Solution:

Add a brand setting on payment provider to allow user to select
which branch will be used.

More:

- What is PayDollar, PesoPay, etc. to AsiaPay?
PayDollar, PesoPay, SiamPay, BimoPay is the same system under AsiaPay
but is for different countries to apply.
PesoPay is for the PH market
SiamPay is for the TH market
BimoPay is for the ID market
while PayDollar is for all other market likes HK, CN, MO, TW, SG, MY,
IN, VN, NZ and AU

- Why are there multiple endpoints for a given API?
Below reasons are from AsiaPay side
Local regulators requirements for BimoPay
Branding purposes to localize for the users for PesoPay and SiamPay.

- Why didn't we integrate all these endpoints in the first version of
our AsiaPay implementation?
We got in touch with AsiaPay after our first integration. Therefore
after partnership established with AsiaPay, they provide more
integration guides on the whole development

- If many customers ask for these endpoints?
Right now, there is no customers asking for these endpoints. However
if they register AsiaPay under certain countries, they have to use
the other endpoints otherwise they will not able to use AsiaPay on Odoo at all.

task-3073748

closes odoo/odoo#110357

Related: odoo/documentation#3423
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-01-27 14:03:24 +01:00
Valentin Vallaeys (vava) 01843ebca8 [FIX] payment_*: fix supported currencies for providers
*: asiapay, flutterwave and mercado_pago.

Wrong numerical code for USD in Asiapay.

Remove unsupported currencies for Flutterwave (ARS, BRL, CVE, CDF, GMD, LRD, MXN, MZN, SOL, ZMK).

Add supported currencies for Mercado Pago (BOB, EUR).

Reorder currencies from support page list.

closes odoo/odoo#106496

X-original-commit: 4ddb8a9082897b9dbf413392620ddaa06897c328
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
2022-11-25 09:53:27 +01:00
Tommy (tong)andAntoine Vandevenne 2f5da9729a [ADD] payment_asiapay: add an integration to AsiaPay
task-2845428

closes odoo/odoo#98441

Related: odoo/documentation#2628
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Co-authored-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-08-30 20:22:44 +02:00