Forums

Redirect URL Paypal

giuxmian 06 Jul, 2014
I have created a user registration form.

I would now like to create a redirect to PayPal page for payment.
I looked at the "Redirect / Remote Submit" but I do not understand how can I do to create the link to the HTML page of PayPal.

Thank you.
GreyHead 07 Jul, 2014
Hi giuxmian,

The simplest way is to use the ReDirect URL action to create the URL followed by a ReDirect User action to do the redirection - Note that this needs to be the last action in the event.

Bob
giuxmian 07 Jul, 2014
Hi Bob,

could you make me an example also attaching images?
Thanks a lot.
GreyHead 07 Jul, 2014
Hi giuxmian,

There are several examples here if you search the forums. What exactly do you need to send to PayPal? And where does that information come form in your form?

Bob
giuxmian 07 Jul, 2014
Hi Bob,

you're right🙂

This is my test website fraefra.joomlafree.it

If you choose "SOCI JUNIOR" or "SOCI SENIOR" you'll see a form that user has to compile to do a subscription.

Next step is to click "COMPLETA ISCRIZIONE" button (in the bottom of form) and you'll see PayPal button to pay subscription (image_01.png)

I'd like when user clicks on "COMPLETA ISCRIZIONE" button he will see a redirect to a paypal page like image_02.png

I hope you have understood my question.

Thanks a lot.
GreyHead 07 Jul, 2014
Hi giuxmian,

The PayPal hosted button that you have there appears to work OK - what else do you need?

Bob
giuxmian 07 Jul, 2014
Hi Bob,

thank you for your answer.

For example I'd like to customize PayPal button adding an image and some text above it
Max_admin 08 Jul, 2014
1 Likes
Just customize the button code then and include your own image and text!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
GreyHead 08 Jul, 2014
1 Likes
Hi giuxmian,

If you look at the HTML for the hosted button you will see this:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="2B9LZZUVM3QHS">
<input type="image" src="https://www.paypalobjects.com/it_IT/IT/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - Il metodo rapido, affidabile e innovativo per pagare e farsi pagare.">
<img alt="" border="0" src="https://www.paypalobjects.com/it_IT/i/scr/pixel.gif" width="1" height="1">
</form>
Provided that you keep the form action and the hidden inputs you can change anything else and add whatever text or images you like.

Bob
giuxmian 08 Jul, 2014
Hi Bob and Hi max,

thank you very much for your answers 🙂
This topic is locked and no more replies can be posted.