Hi,
I have a radio option where my user can select payement method: paypal or bank transfert.
Is possible to redirect to paypal only if user select paypal?
I have used PAYPAL REDIRECT TRIAL (why trial? is a demo version??) but is an action associated to onSubmit so every time I click on my button ORDER I'm redirected to paypal.
Some help?
Regards
monak83
I have a radio option where my user can select payement method: paypal or bank transfert.
Is possible to redirect to paypal only if user select paypal?
I have used PAYPAL REDIRECT TRIAL (why trial? is a demo version??) but is an action associated to onSubmit so every time I click on my button ORDER I'm redirected to paypal.
Some help?
Regards
monak83
Hi monak83,
You can use my Event Switcher [GH] action to trigger an action conditionally.
Please see this FAQ about the PayPal ReDirect plug-in. Note that you do not need the PayPal ReDirect action for simple PayPal payments.
And this one about the Trial actions.
Bob
You can use my Event Switcher [GH] action to trigger an action conditionally.
Please see this FAQ about the PayPal ReDirect plug-in. Note that you do not need the PayPal ReDirect action for simple PayPal payments.
And this one about the Trial actions.
Bob
Hi Bob,
I have this code from PayPal merchant Tool:
I try but dosen't works...and I'm redirect in the same page.
Otherwise If I add On submit event PayPal redirect pluging it works.
On chronoforms paypal redirect works only with his plugin?
Not is possible to use paypal code?
regards
monak83
I have this code from PayPal merchant Tool:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="3XNT87539WRL4">
<input type="hidden" name="lc" value="IT">
<input type="hidden" name="item_name" value="banner 3 mesi">
<input type="hidden" name="amount" value="99.00">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="cn" value="Aggiungi istruzioni speciali per il venditore:">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHosted">
<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>
I try but dosen't works...and I'm redirect in the same page.
Otherwise If I add On submit event PayPal redirect pluging it works.
On chronoforms paypal redirect works only with his plugin?
Not is possible to use paypal code?
regards
monak83
Hi monak83,
Well, the PayPal ReDirect action does redirect the User to PayPal so that they can sign-in and confirm the payment. So you want it to be the last action in the On Submit event because ChronoForms loses control after the re-direction.
You can set a Return URL in the PayPal redirection but there is no automatic return, the user may go somewhere else instead of clicking the return link.
You can use the PayPal button code - but you need to remove the <form> tags and set the form Submit URL to the PayPal URL. If you do this though ChronoForms will not see the form results and can't do anything with them.
You can also translate the button code into the ChronoForms ReDirect User action by extracting the name=value pairs.
You can put the ReDirect URL action anywhere in the On Submit event. You need also to add a ReDirect User action at the end of the event to do the actual re-direction.
Bob
Well, the PayPal ReDirect action does redirect the User to PayPal so that they can sign-in and confirm the payment. So you want it to be the last action in the On Submit event because ChronoForms loses control after the re-direction.
You can set a Return URL in the PayPal redirection but there is no automatic return, the user may go somewhere else instead of clicking the return link.
You can use the PayPal button code - but you need to remove the <form> tags and set the form Submit URL to the PayPal URL. If you do this though ChronoForms will not see the form results and can't do anything with them.
You can also translate the button code into the ChronoForms ReDirect User action by extracting the name=value pairs.
cmd=_xclick
business=xxxxxxxxx
lc=IT
item_name=banner 3 mesi
amount=99.00
currency_code=EUR
button_subtype=services
no_note=0
cn=Aggiungi istruzioni speciali per il venditore:
no_shipping=2
You can put the ReDirect URL action anywhere in the On Submit event. You need also to add a ReDirect User action at the end of the event to do the actual re-direction.
Bob
Hi Bob,
thanks a lot.
Now Works Fine!
Last question: is possible to attach in the email the same button (paypal code) to delay the payement with amonut caluculated (dynamic amount)?
Regards
monak83
thanks a lot.
Now Works Fine!
Last question: is possible to attach in the email the same button (paypal code) to delay the payement with amonut caluculated (dynamic amount)?
Regards
monak83
Hi monak83,
Yes, there are two ways to do that. The simplest is just to embed a PayPal button code in the email template. That will work OK, you'll need to use a little code to set the correct value.
The second, and probably better way is to embed a button that links back to a form event on your site. If you do that you can record the click, add any transaction data that you need to and immediately redirect the user to PayPal. Takes a little bit more work but gives more control and tracking.
Bob
Yes, there are two ways to do that. The simplest is just to embed a PayPal button code in the email template. That will work OK, you'll need to use a little code to set the correct value.
The second, and probably better way is to embed a button that links back to a form event on your site. If you do that you can record the click, add any transaction data that you need to and immediately redirect the user to PayPal. Takes a little bit more work but gives more control and tracking.
Bob
This topic is locked and no more replies can be posted.