CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Paypal, 10713:Invalid Data missing country on direct payment attempts
Pages: [1]

Author Topic: Paypal, 10713:Invalid Data missing country on direct payment attempts  (Read 1715 times)

civicpixel

  • I’m new here
  • *
  • Posts: 25
  • Karma: 3
Paypal, 10713:Invalid Data missing country on direct payment attempts
June 18, 2010, 04:32:25 pm
We're having an issue on 3.1.5 with the direct payment processing functionality. Trying to manually process a credit card contribution results in:
Payment Processor Error message
: 10713:Invalid Data There's an error with this transaction. Please enter a country in the billing address.

A brief look at the code shows that the country is being set in civicrm/CRM/Contribute/Form/Contribution.php, with
$this->_params["country-{$this->_bltID}"]

However, the arguments are not being properly passed on to the Paypal API in civicrm/CRM/Core/Payment/PayPalImpl.php in doDirectPayment. It tries to assign the country (and state, and several other arguments) using $params['country'], but the value is in $params['country-5'], $params['state_province-5'], etc.

Any suggestions?

Thanks,
Brian

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Paypal, 10713:Invalid Data missing country on direct payment attempts
June 21, 2010, 07:59:34 am
thanks for bug report and debug.

filed issue is here : http://issues.civicrm.org/jira/browse/CRM-6390

thanks

kiran
You Are Designed To Choose... Defined By Choice.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Paypal, 10713:Invalid Data missing country on direct payment attempts

This forum was archived on 2017-11-26.