paypal

Why does tlstest.paypal.com work from browser but not from my PHP code (useful for Paypal IPN)?

为君一笑 提交于 2019-12-30 15:41:55
问题 After 2018 June 30th, Paypal won't accept non-TLS 1.2 + HTTP 1.1 requests anymore. They created the URL https://tlstest.paypal.com/ to test if connections are OK. If we open this URL in a browser, we get a successful: PayPal_Connection_OK Quesiton: why does it fail when connecting from PHP with the following code? (I get no response at all, the browser is still in waiting "state" like this, so it doesn't even arrive at echo $errno; echo $errstr; ) <?php $req = ''; // usually I use $req = 'cmd

Why does tlstest.paypal.com work from browser but not from my PHP code (useful for Paypal IPN)?

两盒软妹~` 提交于 2019-12-30 15:41:42
问题 After 2018 June 30th, Paypal won't accept non-TLS 1.2 + HTTP 1.1 requests anymore. They created the URL https://tlstest.paypal.com/ to test if connections are OK. If we open this URL in a browser, we get a successful: PayPal_Connection_OK Quesiton: why does it fail when connecting from PHP with the following code? (I get no response at all, the browser is still in waiting "state" like this, so it doesn't even arrive at echo $errno; echo $errstr; ) <?php $req = ''; // usually I use $req = 'cmd

New paypal system has stopped working with my code

好久不见. 提交于 2019-12-30 06:46:12
问题 I've not been able to work on a project of mine for about 1 month. Now that I have some time to get back into it. I have noticed that paypal have done some changes. Before my temporary break from this project, I was able to send off payments using the paypal api's. But now, when I use the same code, I get the following message: Preapproval API call failed. Detailed Error Message: The receiver is based in a country that isn't enabled to receive paymentsError Code: 580022Error Severity:

X-Frame-Options forbidding redirect to PayPal

点点圈 提交于 2019-12-30 04:48:07
问题 I've got a payment system that won't redirect to paypal because of the error: "Refused to display document because display forbidden by X-Frame-Options." The form is posted and the proper redirect url is made, but there is no response returned from the paypal queries: This redirects properly to the next query: https://www.sandbox.paypal.com/webscr&cmd=_express-checkout&token=xxx This shows no response: https://www.sandbox.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=xxx&dispatch=xxx If I

Paypal Button For Google Chrome Extension

有些话、适合烂在心里 提交于 2019-12-30 03:24:07
问题 I'm attempting to add a donate button (because I like money) to my google chrome extension. I'm having trouble with it because the Chrome extension tries to open the paypal created donation button in the popup.html window. When I click the button, my extension just restarts and there is no donation window. I have tried using chrome.tab.create() to try to make it open to a tab but it doesn't seem to have any effect. The code to the donation button is as follows: <form action="chrome.tabs

Integrating PayPal in C#/.NET Solution using WSDL (SOAP)

廉价感情. 提交于 2019-12-30 03:23:05
问题 Environment : Visual Studio 2010 Professional .NET Framework 4 C# Added Service Reference using the following WSDL : https://www.paypalobjects.com/wsdl/PayPalSvc.wsdl Problem 1 : When compiled simply like this, get a bunch of errors from the Reference.cs file. Looks like namespace errors. It mentions that it cannot find the Service Reference Namespace in my project's Namespace. Therefore, I went into the Reference.cs file and whereever I got this error, I removed the project's namespace

Paypal notify_url and return_url. Receiving variables without IPN using PHP

安稳与你 提交于 2019-12-29 14:23:47
问题 I am trying to set up a simple payment option to paypal, but am having some trouble/confusion with the return and notify URLS. I am fairly new to php and have accomplished this previously in asp, but I have now become lost. SO my basic paypal form: <form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="PayPalForm" name="PayPalForm" target="_top"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="email@hotmail.com"> <input type="hidden

delete session variables when session id is known but not able to start session

荒凉一梦 提交于 2019-12-29 09:33:15
问题 i am having a problem with the way that i am trying to delete some session variables when dealing with paypal and ipn.specifically, i want to have someone logged in (or not) at my online retail store, go through my cart, get redirected to paypal for payment, and then get redirected to my site. i have been using paypal ipn to get paypal to notify me when the payment is complete and i can direct the user back to my site where the session can be started again, but i want to be able to unset the

Not able to place the order using paypal in magento 2 rest

▼魔方 西西 提交于 2019-12-29 08:57:11
问题 I am developing an e-commerce mobiloe application using magento 2 rest apis only.This is the flow for making the REST API calls for order placement. 1.Create a cart api --> {{url}}/index.php/rest/V1/carts/mine This api will return a unique cart id 2.Add products to cart api --> {{url}}/index.php/rest/V1/carts/mine/items body -> { "cart_item": { "quote_id": cartId, "sku": skuName, "qty": 1 } } 3. Estimate Shipping Methods url --> {{url}}/index.php/rest/V1/carts/mine/estimate-shipping-methods

PayPal API : How to integrate it in my App? IOS5

我的梦境 提交于 2019-12-29 08:24:29
问题 I have been checking around the PayPal API and got this, a webView displaying a quite nice interface to pay through PayPal, the thing is : I don´t know how to modify it in order to show several items (this sample only involves one) and display them on the app ( if you have used it you may have realized it only says "current purchase" and I think it is not enough ). I have been using testing accounts as a buyer but in the real life , how can I get the money to my account? I mean , if you see