Paypal listener?

shjuan85 25 May, 2012
I need to set up a form with the following actions

- Users to fill up the form
- Make payment first before his/her information enter the database
- Send an email to both user and administrator that payment has been made

I read the following threads and am clueless on how to execute the settings, I am using Chronoform v4rc3.3.
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=22619
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=26&t=63431

I have purchased the paypal plugin, where should I add the paypal listener action to? To a new event or to On Submit? Where should I add the database and email function as well? I am currently using Paypal sandbox, what address should I input for IPN handler URL and do I need to link it to my seller test account?

Any kind soul please give me a clear direction on this, thank you very much🙂
GreyHead 25 May, 2012
Hi shjuan85 ,

The PayPal Listener will go into a new event - called say 'ipn' and then you can set the Notify URL to include &event=ipn to call this form event.

Bob
shjuan85 25 May, 2012
Hello bob, thanks for your reply, I did the following,

- created a new event call paypalpin
- drag on event load into on submit and call for paypalpin event
- under paypalpin event, on valid, send email and add database
- on PayPal sandbox, input IPN URL with &event=paypalpin

With the above, I don't get redirected to PayPal whenever I submit the form and I don't understand what is wrong

Correct me if I did any of the above wrongly.
GreyHead 25 May, 2012
Hi shjuan85,

I'm sorry but I don't understand what you have done. Something has got lost in translation :-(

Bob
shjuan85 27 May, 2012
Hello Bob, hope you are able to see this, I seriously need some help on this.😟

I created a new event call paypalpin
Drag "event loop" into on submit and call for paypalpin event
Under paypalpin event, on valid, send email and add user information into database
At PayPal sandbox, input IPN URL with &event=paypalpin

With the above, I don't get redirected to PayPal whenever I submit the form and I don't understand what is wrong

Do I need to add Paypalredirect as well?

Please see attached of what I did
GreyHead 27 May, 2012
Hi shjuan85,

Do I need to add Paypal redirect as well?

Yes you do, that needs to go in the On Submit event to send the user and the transaction info to PayPal. The Listener just 'listens' for the IPN response from PayPal.

Bob
shjuan85 27 May, 2012
Hello bob,

Meaning to say, I add PayPal redirect to on submit, and add &event=paypalpin on the paypalredirect plugin redirect address after customers make payment?

Do I still need to add the event loop to onsubmit? I dont know why I am not getting a reponse from PayPal ipn sandbox, how much you charge for setting up these events as I am still very confused.

Thanks,
Juan
shjuan85 27 May, 2012
Hello Bob,

I don't know why, I can't get Paypal Sandbox IPN simulator to work with my URL, I log onto my sandbox and set the IPN handler URL to "http://mysite.com/myfolder/index.php?option=com_chronoforms&chronoform=formname&event=paypalpin".

On running the "http://mysite.com/myfolder/index.php?option=com_chronoforms&chronoform=formname&event=paypalpin" page, I keep getting invalid reponse, does it mean IPN simulator is not working?

Thanks,
Juan
This topic is locked and no more replies can be posted.