Click here to Skip to main content
15,887,989 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using sandbox account for paypal subscription, and pass below variable, my subscription created successfully, first payment also done successfully but from next day payment not done, and response of "txn_type=subscr_eot" returns please help whats the problem. I want to charge 10GBP every day without end date.
XML
<input type="hidden" id="cmd" name="cmd" value="_xclick-subscriptions" />
<input type="hidden" name="business" value="xyz" />
<input type="hidden" id="item_name" name="item_name" value="xyz" />
<input type="hidden" id="amount" name="amount" value=""/>
<input type="hidden" name="return" value="xyz" />
<input type="hidden" name="rm" value="2" />
<input type="hidden" name="notify_url" value="xyz" />
<input type="hidden" name="cancel_return" value="xyz" />
<input type="hidden" name="currency_code" value="GBP" />
<input type="hidden" id="custom" name="custom" value="xyz" />
<input type="hidden" name="tx" value="" />
<input type="hidden" name="at" value="" />
<input type="hidden" id="a3" name="a3" value="10" />
<input type="hidden" name="p3" value="1" />
<input type="hidden" name="t3" value="D" />
<input type="hidden" name="src" value="1" />
<input type="hidden" name="sra" value="1" />
<input type="hidden" name="cbt" value="Click here to complete your transaction" />


Thanks in advance.!
Posted

1 solution

Never, ever, accept code from a insecure website to handle anything to do with real money.
You do not know who is giving you the code, you do not know what it does, you do not know that it places the monies correctly into the appropriate account, without passing the details to any third parties.

Only get such code from Paypal themselves - the scope for fraud otherwise is far to large. And remember, you personally could be liable for any monies lost if your action is seen to be negligent - which getting your code from a public forum would most certainly be!
 
Share this answer
 
Comments
Punit Belani 21-Jan-13 5:27am    
Thanks for reply, Yes you are right, but here i am asking for just parameters, if I'm wrong in passing parameters. Please let me know the parameters.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900