Set Recurring payment with different initial payment in Paypal

Posted by www.sapnaedu.in on Stack Overflow See other posts from Stack Overflow or by www.sapnaedu.in
Published on 2013-10-30T09:50:40Z Indexed on 2013/10/30 9:53 UTC
Read the original article Hit count: 423

Filed under:
|
|
|

I am developing a payment option in a PHP based application. The user can choose Paypal or Paypal recurring method to make a payment.

However, the user would pay $50 for the first time and $40 starting from next month.

However, when the user chooses the Paypal recurring option and he pays $50, Paypal automatically chooses $50 from the next month onwards.

Is it possible to set the different initial payment and recurring payment ?

Here is the part of the code :

echo "<input type=\"hidden\" name=\"no_shipping\" value=\"1\"/>\n";
        echo "<input type=\"hidden\" name=\"a3\" value=\"".$amt."\"/>\n";
        echo "<input type=\"hidden\" name=\"p3\" value=\"1\"/>\n";
        echo "<input type=\"hidden\" name=\"t3\" value=\"M\"/>\n";
        echo "<input type=\"hidden\" name=\"src\" value=\"1\"/>\n";
        echo "<input type=\"hidden\" name=\"sra\" value=\"1\"/>\n";
        echo "<input type=\"hidden\" name=\"no_note\" value=\"1\"/>\n";

Thanks

Kiran

© Stack Overflow or respective owner

Related posts about php

Related posts about paypal