Archive for the ‘paypal pro’ Tag
Conditional paypal Recurring!
Membership will be recurring. Payment will be deducted every month on admin defined date.
For example, admin selected 1st of every month as the payment day, payment will be deducted automatically on this date.
If a member registers on 20th of any month, he will be initially charged for 10 days and then for every month.
The easiest way to make this work is to create a trial period for the days remaining in the month and have an initial payment for this prorated period.
<form action=”https://www.sandbox.paypal.com/cgi-bin/webscr” method=”post”>
<input type=”submit” border=”0″ name=”submit” value=”PayPal” />
<input type=”hidden” name=”cmd” value=”_xclick-subscriptions” />
<input type=”hidden” name=”business” value=”<? echo $business_email; ?>” />
<input type=”hidden” name=”item_name” value=”recurring test account” />
<input type=”hidden” name=”no_shipping” value=”1″>
<input type=”hidden” name=”no_note” value=”1″ />
<!– Mandatory for Recurring –>
<input type=”hidden” name=”notify_url” value=”<? echo $notify_url; ?>” />
<input type=”hidden” name=”return” value=”<? echo $return; ?>” />
<input type=”hidden” name=”currency_code” value=”USD” />
<!– Trial $10.00 for 10 Days –>
<input type=”hidden” name=”a1″ value=”10.00″ />
<input type=”hidden” name=”p1″ value=”10″ />
<input type=”hidden” name=”t1″ value=”D” />
<!– Recurring $5.00 for every 3 months –>
<input type=”hidden” name=”a3″ value=”5.00″ />
<input type=”hidden” name=”p3″ value=”3″ />
<input type=”hidden” name=”t3″ value=”M” />
<!– Mandatory for Recurring –>
<input type=”hidden” name=”sra” value=”1″ />
</form>
By Lalit Kumar Jain
paypal
Subscriptions and Recurring Payments Variables – PayPal
https://www.paypal.com/us/cgi-bin/webscr?cmd=p/acc/ipn-subscriptions-outside
https://www.paypal.com/IntegrationCenter/ic_std-variable-reference.html
Leave a Comment
Leave a Comment