|
Posted by monomaniac21 on 12/17/27 11:54
Thanks yawnmoth. the ajax idea sounds interesting. do u of good
tutorials or books on this particular aspect of ajax?
regards
marc
yawnmoth wrote:
> monomaniac21 wrote:
> > Hi all
> >
> > Can anyone tell me how to submit a form to update its contents to a db
> > and then from the page the form is submitted to then submit another
> > form which is the payment processing data for a site such as paypal?
> >
> > At the moment im having to have users submit the form and then click a
> > button on successful submission to take them through to payment
> > processing and i would like to streamline this process to just require
> > the submission of the details form.
>
> You could use ajax to send the data to yourself and the have the form
> submit itself as it normally would. Or you could have PHP take the
> data that was resubmitted to it, create a new HTTP request based on
> that, and then send the request to paypal or where-ever.
>
> Alternatively, PayPal is supposed to it's own API which, although I've
> never examined it, myself, should probably answer all your questions.
> Check out: https://developer.paypal.com/
Navigation:
[Reply to this message]
|