The current module does not support the Ds_Merchant_PayMethods variable. This variable is used to skip the payment method selection when more than one is enabled for the account:
Si usted ha integrado mediante desarrollo, para conseguir acceder directamente a iupay, será necesario incluir en su formulario el parámetro:
Ds_Merchant_PayMethods con el valor:O
Si desea que desde el pago normal no aparezca el método de pago de iupay, incluya en el formulario el parámetro:
Ds_Merchant_PayMethods
Con alguno de estos valores:
C: Sólo Tarjeta
R = Pago por Transferencia (solo, si tiene activo este método de pago)
D = Domiciliacion (solo, si tiene activo este método de pago)
T: Tarjeta + iupay
Si desea usar varios, por ejemplo el pago por tarjeta y domiciliación el valor a enviar sería "CD". Puede realizar otras combinaciones de estos valores entre sí, para lograr la configuración deseada.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 2343165-add-paymethods-support-9.patch | 5.54 KB | facine |
| #9 | 2343165-add-paymethods-support-9.png | 12.53 KB | facine |
Comments
Comment #1
ximix commentedComment #2
David Hernández commentedHere is an initial patch that worked fine for the Banc Sabadell. I'm not sure if will be different for other banks, but probably not, as Sermepa is a generic sollution for all the banks using this system.
I guess it will be better to use a field where you can select multiple values and then concatenate them in the submit function. But for now, this patch should do the trick.
Comment #3
David Hernández commentedWe have confirmed that this patch also works for "La caixa" bank.
Comment #4
facine commentedHello, thank you very much for the work done! but I think we can improve the approach...
According to the official documentation, we have to provide independent buttons for each payment method.
We will create two new payment methods, the internal operation of signature and validation are the same.
Also we have to add the Ds_Merchant_PayMethods parameter but not configurable, each method should be sending it with its corresponding value.
We should also add images of the methods.
So I think it will give us some more work to implement this feature...
pcambra, we invoke you! We want your review
Regards
Comment #5
pcambraI think we can have new payment methods, if we get into the path of having this just as settings it won't end well for us.
So we could either have submodules or plugins to define these. If the validation and return are the same, that should stay in the main module.
Comment #6
GoddamnNoise commentedIs there any progress with the implementation of the iupay method?
Comment #7
facine commentedFixed here: #2602388: Add SHA256 support using an external library
Thanks!
Comment #8
facine commentedFixed here: #2602388: Add SHA256 support using an external library
Thanks!
Comment #9
facine commentedIt seems that for new accounts is mandatory iupay button, so I've created a new patch, which requires this other: #2794393: Add supported card icons on payment selector
Comment #11
facine commented