Category: PayPal
-
Unilateral receiver not allowed in chained payment is restricted – Adaptive Payment DotNet SDK
Hey everyone, Just an error I ran into today while using the Adaptive Payments SDK for C#/.NET: Unilateral receiver not allowed in chained payment is restricted Thankfully this one is fairly simple – one of the receivers hasn’t confirmed their account. http://stackoverflow.com/a/32816078/522859
-
This type of fee payer x isn’t recognized by our system – PayPal Adaptive Payments SDK
Hey everyone, Just another Adaptive Payments SDK error I’ve run into. Error Id: 560027 This type of fee payer x isn’t recognized by our system This one is fairly self explanatory, valid values are as follows: SENDER – Sender pays all fees (for personal, implicit simple/parallel payments; do not use for chained or unilateral payments)…
-
Cannot parse *.config file – AdaptivePayments SDK (PayPal)
Hey everyone, Just working on a small project that uses PayPal’s C# AdaptivePayments SDK. I hit an error while attempting to make the following payment: var service = new AdaptivePaymentsService(); payResponse = service.Pay(payRequest); “Cannot parse *.config file. Ensure you have configured the ‘paypal’ section correctly.” at PayPal.Manager.ConfigManager..ctor() at PayPal.Manager.ConfigManager.get_Instance() at PayPal.BasePayPalService..ctor() at PayPal.AdaptivePayments.AdaptivePaymentsService..ctor() It turns…
-
Request for ConfigurationPermission failed while attempting to access configuration section ‘paypal’ – PayPal & GoDaddy
Hey everyone, I ran into the following error today while working with PayPal on a GoDaddy hosted server: Request for ConfigurationPermission failed while attempting to access configuration section ‘paypal’. To allow all callers to access the data for this section, set section attribute ‘requirePermission’ equal ‘false’ in the configuration file where this section is declared.…
-
My Selling Tools Option Missing – PayPal
Hey everyone, For some reason the “My Selling Tools” option is now missing on my production account. Unfortunately the only way to get around this that I’ve come across is to access the required features directly. For example: API Access: https://www.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-api-access If you’ve got any other links that might be useful please let me know…
-
PayPal IPN Response Not Returning a pay_key Value
Hey everyone, In order to verify that a pay response is legitimate, PayPal provides a unique token for each request. This token can then be matched against payment confirmation requests to ensure that they aren’t being spoofed. The problem I ran into was that even the legitimate IPNs I received did not contain a pay…
-
Working IPN Handler with Parallel Payments – PayPal Adaptive Payments
Hey everyone, Just a dummy implementation of a Parallel Payment and an accompanying IPN Handler using the C#/.NET SDK. Feel free to use it however you like. //Handles PayPal IPN public String IPN() { //Post back to either sandbox or live string strSandbox = “https://www.sandbox.paypal.com/cgi-bin/webscr”; //string strLive = “https://www.paypal.com/cgi-bin/webscr”; HttpWebRequest req = (HttpWebRequest)WebRequest.Create(strSandbox); ////Set values…
-
Configuring Custom Settings – PayPal C# SDK
Hey everyone, I’ve been mucking around with the C# SDK for PayPal Adaptive Payments. Unfortunately the docs aren’t too great and the samples are a little confusing until you get your head around them. One of the main issues I’ve had is working out how to configure payment request settings i.e. reverseAllparallelPaymentsOnError. To do this,…
-
Application ID – PayPal Sandbox
Hey everyone, Just setting up an app that using the .NET Adaptive Payments SDK. Looking through the sandbox I was able to find the api signature, password and username but not the application ID (My Account > Overview > Account Information > API Access). It turns out that ALL sandbox apps share the same ID:…
-
How to Block PayPal eCheque Payments
Hey everyone, Just a quick post on how to block eCheque payments. These are payments that take up to seven days to process and be approved. The site I am currently working on is in no position to reserve services for such a long period of time, so the request has been made to block…