php,paypal,payment-gateway,payflowpro
In PHP this is fairly easy. Here's a function that can turn it into an array function process_response($str) { $data = array(); $x = explode('&', $str); foreach($x as $val) { $y = explode('=', $val); if(!empty($y[1])) $data[$y[0]] = urldecode($y[1]); } return $data; } As to the other data, here's an educated...
I've been told that to use transparent redirect you have to have a PayPal Payments Pro account. So I created a new account on PayPal Manager and selected Payflow Pro during setup. This doesn't fix the error I'm getting but it answers the question.
paypal,paypal-rest-sdk,payflowpro,payflowlink
Through trial and error, I was able to determine that the PayPal API malfunctions when the API user's password contains some non-alphanumeric characters. I solved this by making our passwords alphanumeric (only letters and numbers). PayPal Manager will not complain if you enter a password that does not completely consist...
paypal,payment-gateway,payflowpro
Although they look similar they are actually different pages. PayPal auto-detects if the checkout page is being viewed from a supported mobile browser and automatically redirects to the mobile-optimized checkout page.
Turns out I was missing one propterty - the item cost. item.Cost = new Currency(1.01, "USD"); It's a little bit strange that everywhere else in the paypal APIs the amount is AMOUNT or AMT but for line items its COST...
paypal,notifications,payflowpro,payflowlink
All valid PayPal notifications originate from 173.0.81.65. Simply ignore any notifications that don't come from this IP. The answer is hidden away in the depths of the PayPal knowledge base: https://ppmts.custhelp.com/app/answers/detail/a_id/445. More information can also be found at https://ppmts.custhelp.com/app/answers/detail/a_id/883/kw/payflow%20ip%20address...
You attach the useraction in the URL you are redirecting to.. eg: https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=<TOKEN>&useraction=commit The two PaymentTypes you have listed are the same according to the API. Also, based on this sample code you should be able to add the useraction=commit with the MerchantSDK. Line 420 shows: CurrContext.Items.Add("Response_redirectURL", ConfigurationManager.AppSettings["PAYPAL_REDIRECT_URL"].ToString() + "_express-checkout&token="...
You can either make two separate calls to the PayFlow API (one to process the one-time payment for the paid products, and another to create the recurring profile), or you could just make a single call to create a recurring profile and include the OPTIONALTRX. When you include that you...
This error comes most probably because of the sandbox account attached to your Manager account . You need to make sure that you have attached a Business Pro sandbox account in your manager account under "Service Settings --> Set Up --> PayPal Sandbox Email address".
ajax,paypal,asp.net-ajax,token,payflowpro
After spending a bunch of time with a Paypal engineer I've successfully figured out a solution for the Paypal's Payflow Transparent Redirect without hosted pages (have own payment page). Again, here's the documentation which, per the engineer, is pretty confusing: Payflow API Documentation. Also, the code isn't optimized as it...