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) »
  • Gathering billing address for pay later users
Pages: [1]

Author Topic: Gathering billing address for pay later users  (Read 661 times)

drmonkeyninja

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
Gathering billing address for pay later users
January 17, 2011, 09:05:31 am
I'm attempting to setup a contribution page using PayPal Pro as the payment processor for users joining a membership scheme. Our client has a number of members representing large organisations who will pay later and will require invoicing for this. However, we're finding that the billing details conflict for users paying via PayPal. Is there a way of asking for the billing address if they choose "Pay later" via a profile, and only using the PayPal Pro fields if they pay online?

Any hints/suggestions would be welcome.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Gathering billing address for pay later users
January 17, 2011, 04:54:44 pm

You can potentially use the buildForm hook to make the billing fields required irrespective if the user chooses to pay now or later. I'm not sure if it will work, but give it a shot :)

alternatively, you can add a profile for the billing fields and use javascript to show it only if pay later is enabled

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

drmonkeyninja

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
Re: Gathering billing address for pay later users
January 19, 2011, 03:05:20 am
Unfortunately our client will not accept bespoke development of CiviCRM and would interpret this as just that. I think we are just going to have to deal with what we have. It is certainly not ideal and not the approach I would personally take.

Thanks for your response anyway.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Gathering billing address for pay later users

This forum was archived on 2017-11-26.