How to avoid the additonal "pay with paypal" user click.
Posted: Fri Oct 31, 2008 6:05 am
We would like change the paypal behaviour. Currently it appears that the control <uc:PayPalPayNowButton ID="PayPalPayNowButton" runat="server"></uc:PayPalPayNowButton> renders a form with <form name="PayPal_Button" action="https://www.sandbox.paypal.com/xclick/" method="post"> and all the order values. This is posted via javascript with document.PayPal_Button.submit(); in body. This is generated after the user has clicked another pay with paypal button.
We would like to remove this additional click and auto generate the values for paypal but cannot work out where the form is generated. Can you please give me some pointers to how to do this? Is there a method in the api that i have yet to locate?
Thanks very much.
We would like to remove this additional click and auto generate the values for paypal but cannot work out where the form is generated. Can you please give me some pointers to how to do this? Is there a method in the api that i have yet to locate?
Thanks very much.