facebookrsstwitter

Paypal Pro email confirmation

Discuss the J1.5 version of DT Register

Paypal Pro email confirmation

Postby nestechs » Sep 12, 2012 3:06 pm

I'm not sure if I'm doing something wrong of if this just isn't possible. But when a person pays for an event with a credit card thru paypal pro, everything gets transmitted over correctly except the email address. And I'm guessing because there is no email address, no email confirmation from paypal gets sent out to the user to confirm they made a credit card payment.

Is there something I need to do for this to work, or is this setup this way on purpose? Thanks!

Nate
nestechs
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Mar 26, 2012 12:32 pm

Re: Paypal Pro email confirmation

Postby dthadmin » Sep 12, 2012 5:26 pm

No email address?? The default "email" field is required for all registrations. Records will not be created without it.
dthadmin
Platinum Boarder
Platinum Boarder
 
Posts: 5425
Joined: Dec 31, 1969 8:00 pm
Location: USA

Re: Paypal Pro email confirmation

Postby nestechs » Sep 13, 2012 11:29 am

The person has to input an email address but when the info gets transmitted to paypal pro, in paypal pro's details of the submission there is no email address.
nestechs
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Mar 26, 2012 12:32 pm

Re: Paypal Pro email confirmation

Postby dthadmin » Sep 13, 2012 12:03 pm

Are you using the default email address named "email" or one that you created? Do you have the latest version of DT Register? Is this an individual or group registration? If group, the "email" field must be set for billing or members/billing. It can't be just for members only.
dthadmin
Platinum Boarder
Platinum Boarder
 
Posts: 5425
Joined: Dec 31, 1969 8:00 pm
Location: USA

Re: Paypal Pro email confirmation

Postby nestechs » Sep 13, 2012 12:55 pm

this happens with a group registration or single. we require the email for members and billing. latest version of dt register for joomla 1.5. the email input is the default email field that was included when we setup dt register.
nestechs
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Mar 26, 2012 12:32 pm

Re: Paypal Pro email confirmation

Postby nestechs » Sep 13, 2012 12:56 pm

the record gets created within dt register without a problem and all the fields are there. it's only in the paypal pro details of the transaction that there is no email address. and because of that, no confirmation from paypal gets sent out saying the person paid. dt register's confirmation gets sent out just fine to the email.
nestechs
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Mar 26, 2012 12:32 pm

Re: Paypal Pro email confirmation

Postby dthadmin » Sep 13, 2012 2:51 pm

Found the issue... open this file:

/components/com_dtregister/lib/payment/paypal_pro.php

Around line 260, add this line (after line with $currencyCode):

$email = urlencode($this->email);

Then around line 265 you'll find a long string starting with:

$nvpstr='&PAYMENTACTION='...

Modify the end of this string to where it looks like this:

...urlencode($this->description).'&EMAIL='.$email;

The "description" portion will already be there... but modify the end of that line to appear as it does above.

Let us know if this fixes it for you.
dthadmin
Platinum Boarder
Platinum Boarder
 
Posts: 5425
Joined: Dec 31, 1969 8:00 pm
Location: USA

Re: Paypal Pro email confirmation

Postby nestechs » Sep 17, 2012 12:52 pm

That worked perfect! Thanks!
nestechs
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Mar 26, 2012 12:32 pm


Return to General Discussion - Joomla 1.5

Who is online

Users browsing this forum: Google Adsense [Bot], Rae Stonehouse and 1 guest

Training Sessions

There are no upcoming events.

DT Register - event registration for Joomla

Free Merchant Account Setup - Accept Credit Cards Online