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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • CiviCRM 2.0 CiviContribute Receipts
Pages: [1]

Author Topic: CiviCRM 2.0 CiviContribute Receipts  (Read 5167 times)

LanceD

  • Guest
CiviCRM 2.0 CiviContribute Receipts
February 25, 2008, 08:41:20 pm
I just went through the process of making a donation through a CiviCRM installation using PayPal Payments Standard and CiviCRM/CiviContribute 2.0.  I found a few things that appear to be bugs.

1) If you have a profile set up to collect the basic info that PayPal collects (First Name, Last Name, Address, etc), CiviContribute does NOT post that information over to PayPal.  Is this a bug or by design?

2) When I received the thank you receipt, it indicated that I had made a recurring contribution.  I did not.  It also included the login URL for MY PayPal account (sans credentials of course).  Here's a copy of the receipt below (without the URL to my PayPal account).  You'll also notice that the receipt does NOT contain the information that I entered into the CiviContribute profile. Please advise.



Thank you for your donation to Predisan.  This e-mail confirms your donation.  Please save this receipt for your records.

Please print this receipt for your records.
===========================================================
Contribution Information
===========================================================
Amount: $ 0.01
Date: February 25th, 2008  8:24 PM
Transaction #: 30U38172DJ591733X
This is a recurring contribution. You can modify or cancel
future contributions by logging in to your account at:




===========================================================
Online Donations
===========================================================
 First Name : Lance
 Last Name : Dockins
 Street Address :
 Street Address 2 :
 City :
 State :
 Zip Code :
 Country :

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: CiviCRM 2.0 CiviContribute Receipts
February 25, 2008, 11:36:40 pm

we only send the information that paypal requires. It does not seem to require name/address information, hence we dont send it. Any specific reason we should be sending it?

it makes the code a wee bit more complicated, since we dont really control what profile the user includes. So we'd be guessing a few things (which will be a right guess most of the time). If there is a good justification to send additional info to paypal, we'll consider including it in a future release OR you could provide a patch that does it (its not too complicated!)

We'll verify the second part and get back to you

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

LanceD

  • Guest
Re: CiviCRM 2.0 CiviContribute Receipts
February 26, 2008, 06:12:12 am
Thanks, Lobo.  As far as why you'd submit it to PayPal, it has to do with the amount of information that the end user has to fill out.  If you pass over the address, phone number, and e-mail (for instance), then the donor does not have to fill that information out in PayPal. 

And I'm not opposed to attempting a patch.  Which file holds the PayPal code and how would I submit it if I'm able to patch it?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM 2.0 CiviContribute Receipts
February 26, 2008, 08:15:10 am
regarding receipt, it's a bug and we will fix it before next tarball release.

kurund
Found this reply helpful? Support CiviCRM

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: CiviCRM 2.0 CiviContribute Receipts
February 26, 2008, 09:18:30 am

CRM/Core/Payment/PayPalImpl.php


function doTransferCheckout

The code is pretty easy to understand :) You should have most of the posted values in $params

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

LanceD

  • Guest
Re: CiviCRM 2.0 CiviContribute Receipts
February 26, 2008, 09:44:57 am
Kurund,
Were all three items bugs with the receipts? Again, they were.

1. The receipt declaring that I submitted a recurring contribution when I did not.
2. The inclusion of the link to MY PayPal account in the receipt (which should not be there)
3. The fact that the profile fields that the donor filled out were not also included in the receipt.

Dave,
If I'm able to patch the PayPal file, where do I submit it to you?

LanceD

  • Guest
Re: CiviCRM 2.0 CiviContribute Receipts
February 26, 2008, 09:45:52 am
Sorry, Dave...  that last question was meant for Lobo.  But if anyone can tell me how to post a patch, I'd be grateful.  Thanks.

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: CiviCRM 2.0 CiviContribute Receipts
February 26, 2008, 09:57:33 am

please file an issue and attach the patch. we'll plan on including it for the 2.1 release

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

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM 2.0 CiviContribute Receipts
February 26, 2008, 10:22:57 pm
I have filed an issue for Incorrect email receipt, http://issues.civicrm.org/jira/browse/CRM-2745

thanx

kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • CiviCRM 2.0 CiviContribute Receipts

This forum was archived on 2017-11-26.