paypal

PayPal API, HttpWebRequest throws SSL WebException

时光怂恿深爱的人放手 提交于 2019-12-23 12:32:56
问题 I'm trying to get an PayPal access token as shown here: https://developer.paypal.com/docs/integration/direct/make-your-first-call/#get-an-access-token My C# Code looks like this: HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://api.sandbox.paypal.com/v1/oauth2/token"); request.Headers["Authorization"] = "Basic " + Convert.ToBase64String(Encoding.Default.GetBytes(clientId + ":" + clientSecret)); request.Accept = "application/json"; request.Headers.Add("Accept-Language", "en

PayPal + RESTful API + WebHooks + Self Signed Certificates

雨燕双飞 提交于 2019-12-23 12:09:11
问题 I've been working with the REST API for PayPal and I'm able to get the sales, refunds, etc processed without an issue. But I am having an issue with the webhooks. I have a webhook configured in sandbox and it never posts the information to the webhook URL (doesn't even attempt to according to the access logs). Since wbehooks required https I was wondering if there is an issue with using self signed certificates with webhooks? It's the only thing I can think of to prevent PayPal from accessing

PayPal Sandbox Accounts Blank

情到浓时终转凉″ 提交于 2019-12-23 11:45:57
问题 Accounts I create through the PayPal sandbox (created on http://developer.paypal.com/) are created with zero balance and no credit card regardless of what I set when creating the account . This results in: On payment page, a request for me to enter a credit card for the account No paypal balance (tested by logging into the paypal sandbox). I have tried creating multiple accounts, several with balances of $3,000 USD, one with a credit card set, another with paypal set, and always with credit

Testing whole cycle of paypal recurring payment at sandbox

混江龙づ霸主 提交于 2019-12-23 11:13:21
问题 I am currently trying to implement paypal recurring payment and I would like to test "whole cycle". I found this article http://www.paypalobjects.com/en_US/ebook/PP_Sandbox_UserGuide/testing_recurringpayments.html and also some references in stackoverlfow that it should work. But for me it does not seem to work. Maybe I have to dig into code for that but I was wondering should this actually work? I am using https://github.com/thenbrent/paypal-digital-goods library and I subscription details

Simulate IPN for recurring_payment_skipped from developer.sandbox.com

拈花ヽ惹草 提交于 2019-12-23 09:39:22
问题 I need to simulate IPN when a recurring payment fails. My application can then create create pending invoices and send it to the customers. I searched and found that I would need to setup IPN that will handle below txn_type recurring_payment_skipped recurring_payment_failed Will these two be sufficient? Also, Recently paypal has provided a new tool called IPN Simulator where you can send a sample IPN to a URL. It only supports below txn_type s web_accept (eCheck-pending, eCheck-declined,

Codeigniter: Paypal IPN and csrf_protection

给你一囗甜甜゛ 提交于 2019-12-23 09:36:33
问题 I'm working with codeigniter-paypal-ipn and have csrf_protection enabled. This seems to block the access from Paypal to my IPN controller. If i disable csrf_protection it works just fine, with csrf_protection enabled, paypal IPN service throws a 500 Internal Server Error. Is there a way to solve this without disabling the csrf_protection? If not, can i disable the csrf_protection just for that controller? Thanks. 回答1: Alex the creator of codeigniter-paypal-ipn here. At the moment I'm not

GetExpressCheckoutDetails returns session expired (10411 error) in asp.net (only on some computers)

风格不统一 提交于 2019-12-23 09:25:49
问题 I got Paypal integrated in my asp.net web site, Its works perfectly on some computers, while others it doesnt. EDIT: found the problem but looking for a solution The problem is as fallowing: Things seem to work fine I can pay with paypal and then when it calls GetExpressCheckoutDetails it returns 10411 error ' this express checkout session has expired' I call GetExpressCheckoutDetails with the fallowing code: public bool GetDetails(string token, ref NVPCodec decoder, ref string retMsg) { if

jms payment corebundle URL return

本小妞迷上赌 提交于 2019-12-23 06:10:06
问题 I'm integrating the jms payment bundle in symfony 2.6. I had followed all document in : http://jmspaymentcorebundle.readthedocs.io/en/stable/guides/accepting_payments.html I'm getting this error : You must configure a return url. I had configured the return URL into ON in my account , and it seems not working, getting the same error. My confirmation url is a page in which there is some text like : Thank you for your payment. Your transaction has been completed, and a receipt for your purchase

How to Implement Paypal Recurring Payment API With option for buyers to pay by credit/debit cards php? [closed]

此生再无相见时 提交于 2019-12-23 05:51:57
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . Please, if someone has worked on it, I need help I have an enterprise application on which i need to implement this functionality. Initially I implemented Express checkout paypal API to create recurring payments but it doesn't allow users to pay without having paypal account but I

Using Paypal IPN with website running on localhost

允我心安 提交于 2019-12-23 05:32:13
问题 I want to integrate Paypal Instant Payment Notifications (Paypal IPN) into my ASP.NET website. The website is in development mode and it runs on localhost. Following this tutorial (https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNTesting/#local) I created a script that simulates a IPN notification. This IPN notification hits the IPN handler of my website. However, when my IPN handler reposts the information back to Paypal sandbox, Paypal always returns INVALID. I guess this