Hi,

My users get the error below from the payment gateway as the value passed is missing a zero. For example for Australia it should be 036 but ubercart passes 36.

I have upgraded to version two and upgraded the country but it still has the problem.

Sorry, there has been a problem processing your payment.
Billing Country is invalid, received 36

Thanks,

Comments

longwave’s picture

Status: Active » Postponed (maintainer needs more info)

What payment gateway are you using? This problem seems specific to the gateway, and not Ubercart directly.

knigh7’s picture

I am using Barclays ePDQ

When it goes to barclays then it shows the error

http://drupal.org/project/uc_epdq

longwave’s picture

Project: Ubercart » Ubercart Barclays EPDQ payment gateway
Version: 6.x-2.4 » 6.x-1.1
Category: support » bug
Status: Postponed (maintainer needs more info) » Active
rvarkonyi’s picture

Status: Active » Closed (works as designed)

Hi,

currently only UK is supported by the module.

If there is significant interest, more countries might be supported in the future.

Thanks

Rob

knigh7’s picture

Hi Rob,

I have found a solution by editing the module. Basically it passes two character or one character code, all i had to do is add an extra 0 if its two characters or two 00s of its one character code.

Barclays only accepts three character codes i think

Thanks,
Ahmad