Hello,
I have a donation form that will utilize the PayPal Pro processor.
On Success, an email is sent to me with some basic information from the form.
I would also like to include the PayPal Transaction ID in that email. I also would like to save it to the database.
I included:
At the bottom of my email, and it gives me ALL the information, which I don't need. I only want the [transaction_id] information from:
Is this possible?
Thanks,
Ryan
				
				
				
			I have a donation form that will utilize the PayPal Pro processor.
On Success, an email is sent to me with some basic information from the form.
I would also like to include the PayPal Transaction ID in that email. I also would like to save it to the database.
I included:
<?php
echo'<div> $form->data: '.print_r( $form->data, true).'</div>';
?>At the bottom of my email, and it gives me ALL the information, which I don't need. I only want the [transaction_id] information from:
[paypal_pro] => Array
       (
           [transaction_id] => 5HT39097UXXXXXXXX
           [error_message] => 
           [error_code] => 
           [correlation_id] => 4ad5a32fa3315
           [avs_code] => Y
           [payment_status] => SUCCESS
       )Is this possible?
Thanks,
Ryan
					Hi Bob,
My client switched to Authorize.net, but I still need the transaction ID.
I added {authorize_net.transaction_id} to the email, but it returned blank.
I based this off of your suggestion, and the change in the debug information in the email:
[authorize_net] => Array
(
[response_code] => Approved
[response_subcode] => 1
[response_reason_code] => 1
[response_reason_text] => (TESTMODE) This transaction has been approved.
[approval_code] => 000000
[avs_result_code] => P
[transaction_id] => 0
)
Suggestions?
Thanks,
Ryan
				
				
				
			My client switched to Authorize.net, but I still need the transaction ID.
I added {authorize_net.transaction_id} to the email, but it returned blank.
I based this off of your suggestion, and the change in the debug information in the email:
[authorize_net] => Array
(
[response_code] => Approved
[response_subcode] => 1
[response_reason_code] => 1
[response_reason_text] => (TESTMODE) This transaction has been approved.
[approval_code] => 000000
[avs_result_code] => P
[transaction_id] => 0
)
Suggestions?
Thanks,
Ryan
					HI Ryan,
It looks as if the transaction ID there is 0 which may not be helpful. How des ANet return the ID?
Bob
				
				
				
			It looks as if the transaction ID there is 0 which may not be helpful. How des ANet return the ID?
Bob
					I'm not sure how AuthNet returns IDs. 
Right now I am in sandbox/testing using a dummy account I created, and that is all it is giving me.
Shouldn't the ID being returned be 0 in the email because it comes back from AuthNet as 0?
Once the client gives me their account and I do tests, it may give me more.
				
				
				
			Right now I am in sandbox/testing using a dummy account I created, and that is all it is giving me.
Shouldn't the ID being returned be 0 in the email because it comes back from AuthNet as 0?
Once the client gives me their account and I do tests, it may give me more.
This topic is locked and no more replies can be posted.
		
	
 
  