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 CiviMember (Moderator: Deepak Srivastava) »
  • Forward date membership payment not working with backoffice authorize.net ARB
Pages: [1]

Author Topic: Forward date membership payment not working with backoffice authorize.net ARB  (Read 310 times)

wwatson13

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.1.6
  • CMS version: Drupal6
  • MySQL version: 5.x
  • PHP version: 5.2
Forward date membership payment not working with backoffice authorize.net ARB
November 24, 2014, 04:18:51 pm
Currently running 4.4.5 and trying to figure out why the start date is not being properly passed to Authorize.net ARB when using the backoffice credit card payment form for memberships.  If you use the backoffice contribution credit card payment and setup a recurring payment with a start date in the future, it properly passes that start date to Authorize.net, however it does not work when using the membership payment form.  Additionally I noticed that the contact ID is also not passed to ARB when using the membership form.  I am suspecting that the parameter names in the back office membership, but I am not sure exactly where to find that code to verify it.

The authorize.net payment code has the following:

 $firstPaymentDate = $this->_getParam('receive_date');
    if (!empty($firstPaymentDate)) {
      //allow for post dated payment if set in form
      $startDate = date_create($firstPaymentDate);
    }
    else {
      $startDate = date_create();
    }

As well as for contact id:

$template->assign('contactID', $this->_getParam('contactID'));

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Forward date membership payment not working with backoffice authorize.net ARB
November 26, 2014, 11:47:19 am
I can't comment on the main part of your question (although it probably was never added since I added the ability to do forward date for contributions on commission from a customer) but this

" I noticed that the contact ID is also not passed to ARB when using the membership form"

may cause the payments not to show. I'm fairly sure that has been fixed in 4.4 for a while so you should upgrade to the latest 4.4 (or 4.5 if you prefer).

Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Forward date membership payment not working with backoffice authorize.net ARB

This forum was archived on 2017-11-26.