Forums

Go to Database and then PayPal?

pmsquillace 02 Jul, 2009
Hello All:

I noticed that when I set up paypal on my site with a paypal button, I cannot seem to get the form data to save to the Database. Is there a setting that I might be missing for these cases?

Thanks for any help or advice on the matter,

Paul
Max_admin 02 Jul, 2009
Hi Paul,

"with a paypal button", does this mean that the user is sent to paypal to pay ? if so then you must send the user back to your site and capture the data somehow!

Cheers,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
pmsquillace 02 Jul, 2009
Yeah I could not get the plug in to work so what I did was just get one of the buttons they provide.

So I guess that this is not the way to go. Back to your plug-in I guess. LOL

Thanks Max for the advice.

Paul
pmsquillace 02 Jul, 2009
ok, thinking on what you said max i think I have a solution in mind...

Going to make them PAY first to paypal then set it up so the return URL is the form to fill out.

whooot! Thanks Max, even when you don't offer help you help. LOL

Thanks again,

Paul
Max_admin 03 Jul, 2009
Hi Paul,

I think that yo ucan send some variable to Paypal to tell it to post the data back to some URL which will be your form and you can capture this data, I don't know the exact variable names though 😟 Bob may have some idea but he is not back yet before 3 days! you will find all this in the Paypal docs.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
pmsquillace 04 Jul, 2009
oh ok,

Thanks Max - I think I am just going to use either authorize.net or have them come back to the form after they pay us.

Thanks for the follow up though,

paul
Max_admin 04 Jul, 2009
Hi Paul,

No problems, I still believe that looking into this quickly in the PayPal docs is a good idea, you will be able to fill the form, send the user to Paypal and get PayPal's reports about the transaction after its done! I think that this code will be available at some websites online, at Paypal docs, and may be at Virtuemart Paypal module if you can check it!🙂

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 05 Jul, 2009
Hi Paul,

You can do this using the PayPal ReDirectURL parameter - this tells PayPal to redirect the user back to your site after they have successfully paid (there's another URL for cancellations).

Set this up using the ChronoForms ReDirect Plugin (if it's in the latest release).

Bob
pmsquillace 05 Jul, 2009
Thanks Bob,

Good to see you back...

Paul
GreyHead 05 Jul, 2009
Hi Paul,

Thanks - good to be back, we've been away on holiday for a couple of weeks. Still a bit ferry-lagged today - like jet lag but slower.

Bob
pmsquillace 05 Jul, 2009
HA! Ferry Lagged....that is funny..
sustainmadison 15 Jul, 2009
I am trying to do a similar thing... and I seem to be having some trouble.

I'd like to avoid using the Paypal API because (and maybe you can correct me here???):

1) I have to get that API information from my "boss" who apparently doesn't know the paypal login and what not... hard to work with... and already has a payflowlink portal set up.

2) I'm not good with security, so I'd rather have the credit card information entered on paypal's payflow site rather than in a chronoform on my site- make sense, or should I not be worried about that???

---

Anyways, in order to do the paypal payflow thing- when I set up my chronoform I have to enter in form urls >> submit url >> my "action" url as payflowsomething.paypal.com and then in my form I have some hidden fields for merchant ID, the amount they enter via dropdown is carried over, and the partner and login for paypal.

So...

By entering a url in that form urls >> submit url >> action url section, it seems that now my form is no longer sending me an email, doesn't matter if they did the spam prevention correctly or not, no longer doing the "chronoform" action, not posting to a database or anything- it is simply doing the "paypal action".

How do I do both? I want a database entry that they filled out the form AND have it move on to the paypal form with that hidden form data.

I know (or I think I know) that I can't simply have 2 action fields in the form tag, too bad! Is there any way using CURL? I'm not sure what curl really does- but couldn't I have that form do what its doing with the action being the paypal link and then use curl to also send the data to my joomla database?

I don't even necessarily need an email sent to me- just the information to paypal and to the database- because once they finish the paypal form w/ credit card info, it will send me an email anyways through them- but I get the feeling that if we can solve this problem, having the email sent will be an easy added bonus.

If it helps- the form I am talking about is:

http://bioneers.sustaindane.org/joomla/index.php?option=com_chronocontact&chronoformname=Payment2

Last thing- why is chronoforms no longer listed on extensions.joomla.org ??

THANKS SO MUCH IN ADVANCE!!

-Shawn
Max_admin 15 Jul, 2009
Hi Shawn,

what you want to do can be done and is posted here in many how tos through the forums, there is a sticky post about this in the "How to" forums I think! read it and make some search and let us know!

regarding the joomla extensions site, they don't have an exact set of rules to follow and so there was some conflict and they unpublished our extensions until we agree..

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 16 Jul, 2009
Hi Shawn,

I'm not sure how PayPalFlow works. There are two plugins that might help here.

If you need to keep the user at teh Joomla site and send the data only off to PayPal, then use the CURL plugin with your form.

If you need to send the User and the data to PayPal (i.e. if they need to approve the payment there); then use the ReDirect Plugin with your form.

The two plugins are very similar, there is a block of inputs that correspond to the inputs on your form - use these for user-specific data that changes for each form. There is a text area below for fixed data that PayPal needs, like ReDirect URLs, your account id, etc.

There is a second tab where you can add the PayPal URL. And a third where you can do some pre-processing if needed.

NB: these same two plugins can also be used for other sites where you want to submit data.

Bob
This topic is locked and no more replies can be posted.