Making pPayments with PayPal

nguyentientho94

New Member
I want to process PayPal payment to PayPal user from my account. I fetch form details with PHP script from my server, however, I am not able to process the payment using PHP script only (I suppose PayPal website requires user to have JavaScript on the client side to login and complete payment, so it is not possible to do that with CURL simply). Is it somehow possible to make a payment with PayPal using API, passing all this information along?\[code\]<form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="paypal"> <input type="hidden" name="cmd" value="http://stackoverflow.com/questions/3865382/_xclick"> <input type="hidden" name="business" value="http://stackoverflow.com/questions/3865382/RECIPIENT"> <input type="hidden" name="undefined_quantity" value="http://stackoverflow.com/questions/3865382/0"> <input type="hidden" name="item_name" value="http://stackoverflow.com/questions/3865382/INVOICE"> <input type="hidden" name="item_number" value="http://stackoverflow.com/questions/3865382/10788650"> <input type="hidden" name="currency_code" value="http://stackoverflow.com/questions/3865382/EUR"> <input type="hidden" name="amount" value="http://stackoverflow.com/questions/3865382/8.76"> <input type="hidden" name="return" value="https://some.page.lt/payments/paypal.php"> <input type="hidden" name="cancel_return" value="https://some.page.lt/rodyti.php?id=MTA3ODg2NTAJLTE1MjY3MDY0ODc"> <input type="hidden" name="charset" value="http://stackoverflow.com/questions/3865382/windows-1257"> <input type="hidden" name="no_note" value="http://stackoverflow.com/questions/3865382/1"> <input type="hidden" name="no_shipping" value="http://stackoverflow.com/questions/3865382/1"></form> \[/code\]Any help is highly appreciated.Regards,Jonas
 
Back
Top