I get the above error with a fresh install of Commerce Payflow Pro. Adding the following to the $nvp array at line 257 of commerce_payflow_pro.module (1.x-dev version) fixes this issue for me:

'COUNTRY' => $billing_address['country'],

Comments

markie’s picture

Status: Active » Needs review

Thanks for your help. I have applied your suggestion, but added to limit the entry to the 2 letter country code.

'COUNTRY' => substr($billing_address['country'], 0, 2),

please give it a test and let me know if it suits your needs.

markie’s picture

Status: Needs review » Fixed
markie’s picture

Status: Fixed » Closed (fixed)