Page 1 of 1

Bug in paymentpercountry extension

PostPosted: Wed Jan 30, 2013 8:12 pm
by jiri4net@.....cz
Hide a payment method per selected country have any effect:

1st Enabled advanced payment configuration
2nd in OPC Extensions Enable: Disable a payment method per country
3rd Configure:
Set country 3 codes separated by a commna: CZE
and disable Payment Id: COD
and make default Payment Id: UCE

In cart change Country to Czech Republic, but COD payment is still visible.

Please let me know how can I fix this bug.
Thanks.
Jiri

Re: Bug in paymentpercountry extension

PostPosted: Fri Feb 08, 2013 5:11 pm
by admin
Hello Jiri, you must us IDs instead of the letter code of the payment methods here:

and disable Payment Id: COD
and make default Payment Id: UCE

To get the ID, please visit the payment list in virtuemart and when you click to configure any of them, you'll see the ID in the top URL:
Example:
.../administrator/index.php?page=store.payment_method_form&limitstart=0&keyword=&payment_method_id=20&option=com_virtuemart

this payment method has ID 20

Ceskoslovensky:
Prosim pouzite ID namiesto kodu platobnej metody. ID zistite z URL adresy nastavenia platobnej metody vid vyssie.

Best Regards,
Stan