paypal

PayPal IPN and fsockopen

穿精又带淫゛_ 提交于 2020-01-06 19:56:16
问题 Well I can't use cURL, the version installed on my web host that can't be changed doesn't support TLS. I'm trying to use fsockopen now to see if i'll be able to use IPN. It just hangs and browser throws connection timeout. PHP 7, open_ssl is enabled <?php header('HTTP/1.1 200 OK'); $item_name = $_POST['item_name']; $item_number = $_POST['item_number']; $payment_status = $_POST['payment_status']; $payment_amount = $_POST['mc_gross']; $payment_currency = $_POST['mc_currency']; $txn_id = $_POST[

PayPal IPN empty array

爱⌒轻易说出口 提交于 2020-01-06 17:55:28
问题 I have development site on localhost, Sandbox set IPN return url to external IP, in form set return and notify url to localhost/... After submission and succesfull payment script is going back to my notify url but $_POST array is empty Please help. 回答1: You should add a new input field,//it will turn on paypal return method to "POST" <input type="text" name="rm" value="2"> ('rm','2'); //return method is POST rm = how you need the data submitted from PayPal to your IPN script (1=get, 2=post)

Paypal IPN status is always invalid?

本小妞迷上赌 提交于 2020-01-06 15:18:08
问题 Am getting Invalid response from IPN, some people mentioned like return url and notification url shouldn't be same but i changed in that way also even am getting same result. Here is my code for making payment,payment is working fine. Paypal paypal = new Paypal(); paypal.cmd = "_xclick"; paypal.business = ConfigurationManager.AppSettings["BusinessAccountKey"]; bool useSandbox = Convert.ToBoolean(ConfigurationManager.AppSettings["UseSandbox"]); paypal.cancel_return = "http://www.patronalerts

Use Paypal Pro instead of Paypal Express - Omnipay for Laravel

眉间皱痕 提交于 2020-01-06 13:56:52
问题 I have a shopping cart that currently is redirecting users to paypal directly to make their payment. I am wanting to allow customers to input their credit card on the site and paypal to process it. I have Paypal Pro account but I am having trouble using it. I am not sure how I can use the Paypal Pro package via Omnipay. In my vendors folder I have a ExpressGateway.php and a Progateway.php but not sure how to call the Progateway.php page. The only way I can see to set it is by using Omnipay:

How can I verify a PayPal ID?

China☆狼群 提交于 2020-01-06 13:21:58
问题 I have an application writted in ASP with a simple form. The users fill up the form with their PayPal ID to receive money exchanging their points. I want to verify the PayPal ID before they submit the form using some kind of http request. I have looking into the PayPal API but i didn't find anything. Thanks. 回答1: If the PayPal api doesn't support a "verify" of call, then here's the usual alternative: Create a "paypal_ids" database table in your application When a PayPal id is entered by

paypal rest api credential via oauth

时光毁灭记忆、已成空白 提交于 2020-01-06 07:14:11
问题 I'm using paypal's rest API https://developer.paypal.com/webapps/developer/docs/api/ Whenever I use API to fetch orders etc I need a id and secret key to request access token. Then I can fetch them. I'm thinking is there anyway to get the id and secret key via OAuth? Just like storenvy.com does. They connect with paypal login. Then fetches the orders / transactions. Any idea? 回答1: Sorry didn't notice this question until now - this is currently not possible. What we intend to support in the

Android paypal send payment for login user

允我心安 提交于 2020-01-06 06:44:11
问题 I would like to ask is it possible to send the payment for login-ed user using paypal? My android app is a simple booking movie ticket system. I implement the paypal feature to top-up the current user balance. Below is my php table screenshot. User account table Paypal verification table So right now, when i login the user abc , and i top-up using paypal. After the payment is done, the payment suppose to send to the user abc but it would not send, so what should i do in order to send the

Android paypal send payment for login user

荒凉一梦 提交于 2020-01-06 06:43:05
问题 I would like to ask is it possible to send the payment for login-ed user using paypal? My android app is a simple booking movie ticket system. I implement the paypal feature to top-up the current user balance. Below is my php table screenshot. User account table Paypal verification table So right now, when i login the user abc , and i top-up using paypal. After the payment is done, the payment suppose to send to the user abc but it would not send, so what should i do in order to send the

PHP POST to URL with user being redirected

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-06 04:59:07
问题 So I'm making a check out cart on my website. I'm using PayPal as the payment system but before I transfer the customers to PayPal I get their details. To do that I POST from index.php to index.php, run my code to retrieve the POSTed info and store it in a database and now wish to redirect the customer to PayPal. Unfortunately you have to POST all the cart data to PayPal: <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> The only way I see around this is to post to index.php

Paypal Access-Control-Allow-Origin

こ雲淡風輕ζ 提交于 2020-01-06 04:13:18
问题 I'm trying to learn paypal payment. I have done a simple AngularJS application that use Paypal-Express-Checkout. As it says on the documentation, first of all I have to do the call SetExpressCheckout. $http.post("https://api-3t.sandbox.paypal.com/nvp", request) .success(function(data){ console.log(data); }).error(function(error){ console.log(error); }); In the object request there are all payment details. But when I run the script, the result of http call is: XMLHttpRequest cannot load https: