21 September 2009 at 9:03am
I am writing an payment method for Paymate but the country field is not populating when I pass through the country, if I was to pass the country code instead it would work. I just need to work out how to. To reference country I use "pmt_country" => $m->Country, I have tried "pmt_country" => $m->Country.Value and "pmt_country" => $m->Country->Value
24 September 2009 at 10:17am
Have just realised the country is stored as the code not the name (should have checked the database originally) so the problem is not where I thought is was. Passing the country you need to place it in "" so the entry in the info array becomes "pmt_country" => "$m->Country"
9 October 2009 at 2:50pm
Do you have a working verison of the Paymate method that I can try out please? I am using the eCommerce 0.6 and Payment modules and PaymateExpressPayment method supplied by RICP but can't get this to work - getting a single error on Checkout page
Bad class to singleton() - PaymateExpressPayment