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 »
  • Community Contributed Payment Processors »
  • Authorize.net email receipt
Pages: [1]

Author Topic: Authorize.net email receipt  (Read 6993 times)

selfuntitled

  • I’m new here
  • *
  • Posts: 16
  • Karma: 2
Authorize.net email receipt
March 03, 2009, 09:07:27 am
I know this is a duplicate post, but previous thread did not include an answer -

Donors are currently receiving duplicate emails, one from civicrm, and one from Authorize.net

In the wiki, it notes that authorize.net has an "other setting" which includes "email reciept"
http://wiki.civicrm.org/confluence/display/CRMDOC/Authorize.net+Configuration

This option isn't appearing for me in CiviCRM v2.0.7 and Drupal 5.15. 

The previous thread which discusses this: http://forum.civicrm.org/index.php/topic,1768.0.html mentions a the setting within the Authorize.net merchant account "send email receipt".

After a conversation with their customer support, they mentioned that in the donate script, if the variable x_email_receipt is set to true, they will send an email receipt regardless of what the option is set to within the merchant account. 

Any ideas?  I'm not proficient enough to dive into the script and try to set it myself.   

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: Authorize.net email receipt
March 03, 2009, 09:28:57 pm
Hi
Quote
Donors are currently receiving duplicate emails, one from civicrm, and one from Authorize.net
If you don't want email receipt from Authorize.net , need to modify the code

for sending email for customer authorize.net use x_email_customer field.
x_email_customer get the value from emailCustomer.

Code: [Select]
--- CRM/Core/Payment/AuthorizeNet.php (revision 20131)
+++ CRM/Core/Payment/AuthorizeNet.php (working copy)
@@ -51,7 +51,7 @@
         $this->_setParam( 'paymentType', 'AIM' );
         $this->_setParam( 'md5Hash'    , $paymentProcessor['signature'] );
         
-        $this->_setParam( 'emailCustomer', 'TRUE' );
+        $this->_setParam( 'emailCustomer', 'FALSE' );
         $this->_setParam( 'timestamp', time( ) );
         srand( time( ) );
         $this->_setParam( 'sequence', rand( 1, 1000 ) );

Description for x_email_customer
customer email receipt status
[ TRUE, FALSE
   T,     F,
   YES, NO,
   Y,     N,
   1,     0   ]
 x_email_customer Indicates whether an email receipt should be sent to the customer. If set to TRUE, the payment gateway will send an email to the customer after the transaction is processed using the customer email address submitted with the transaction. If FALSE, no email is sent to the customer.


sunil
The community around a product more important than the product itself?

selfuntitled

  • I’m new here
  • *
  • Posts: 16
  • Karma: 2
Re: Authorize.net email receipt
March 06, 2009, 09:30:28 am
Thanks - that was easy

Added a note about this in the Wiki. 

cgratigny

  • Guest
Re: Authorize.net email receipt
July 01, 2009, 03:15:46 pm
any chance this will be a configuration option in a future release?

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: Authorize.net email receipt
July 01, 2009, 08:16:07 pm

depends on whether someone from the community (maybe you?) is willing to take the time and effort and contribute a patch to do the needful

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute »
  • Community Contributed Payment Processors »
  • Authorize.net email receipt

This forum was archived on 2017-11-26.