Answer the question
In order to leave comments, you need to log in
How to secure payment via Paypal?
<form method="post" action="{$paypal.gate}" id="paypal_form">
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="..." />
<input type="hidden" name="item_name" value="..." />
<input type="hidden" name="item_number" value="..." />
<input type="hidden" name="amount" value="213" />
<input type="hidden" name="return" value="..." />
<input type="hidden" name="cancel_return" value="..." />
<input type="hidden" name="notify_url" value="..." />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="rm" value="2" />
</form>
Answer the question
In order to leave comments, you need to log in
Serve form data as a backend.
No, not even that. Just do not try to shove it all into a form with all the guts out, but immediately give back after, say, submitting from the order confirmation page. The amount of the order and other information is stored in the back (well, or you have all the seams), therefore, the total can be summarized directly in the back and given to the paypal action. Nothing complicated, but a little safer.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question