FAQ Database Discussion Community


Paypal, how do I find out when someone makes a purchase?

c#,paypal
In General: C# Server Getting transactions from hosted items Type: Shopping Cart Type: Subscriptions Data: Custom field Callbacks? Not web I am setting up a Minecraft server and require purchases to be recognised as soon as possible, is there a way to get callbacks when purchases are made and if...

PayPal 400 Bad Request, more specific?

c#,asp.net-mvc,paypal
Is there any way to get a more specific PayPal error than 400 bad request? I saw someone doing something like this: if (ex.InnerException is ConnectionException) { Response.Write(((ConnectionException) ex.InnerException).Response); } else { Response.Write(ex.Message); } But that doesn't seem to do anything different for me, all the error says is: "The...

Not receiving PayPal IPN when in SandBox mode

paypal,paypal-ipn,paypal-sandbox
I am using PayPal's Express Checkout and have written my code using Merchant SDK for Java. This relates to PayPal's IPN mechanism in SandBox mode. I have created the IPN Listener & tested it thoroughly using the IPN Simulator. I have made sure that the Notification URL I specify receives...

Taking payment from customer's card and giving to merchant

paypal,paypal-permissions
I am creating a booking site, where the public can make bookings and then pay using their card. I want to take the card details and send them to PayPal via their REST api, and then send the amount to a merchant who will be one of our customer's selling...

How to get Response from Paypal when Payment is cancelled

php,paypal
I am new in using the paypal api. Now the problem I want to solve is when the payer cancelled the payment on the paypal site is there a way that Paypal will send a response automatically to my site that the payment has been cancelled . my target here...

PayPal charged, but payment response is “INVALID”

paypal,response,paypal-ipn,payment,invalidate
several of the webshops from our customers provide a checkout via PayPal. Actually we have the problem, that when we're forcing a checkout, we get the answer, that something went wrong. But if we check the PayPal Account, then we see, that the charging still has taken place. Now we're...

Paypal Rest API With Credit Cart Payment Method

c#,asp.net,paypal,paypal-sandbox
This is how I create PayPal payment. var apiContext = GetApiContext(clientId, clientSecret); CreditCard creditCard = new CreditCard(); creditCard.number = "4877274905927862"; creditCard.type = "visa"; creditCard.expire_month = 11; creditCard.expire_year = 2018; creditCard.cvv2 = "874"; creditCard.first_name = firstName; creditCard.last_name = lastName; Amount amount = new Amount(); amount.total = "7.47"; amount.currency = "USD"; Transaction...

For Express Checkout, are you required to use the official paypal buttons for checkout?

paypal,paypal-sandbox
I keep reading everywhere that you are REQUIRED to use the (ugly) yellow buttons PayPal provides you with, yet when I go to www.bustedtees.com or www.devtees.com they use their own buttons that then link to the Express Checkout. Which one is correct?...

Django Oscar Adaptive Paypal Payment

django,python-2.7,paypal,django-oscar
In my oscar application django needs adaptive parallel oscar payment procedure. Can anyone tell how to integrate with Adaptive Parallel Paypal method into Normal Paypal. I have integrated Paypal PayFlow and Express methods. Any tutorial references ?...

How to open a specific PayPal link in the PayPal iOS app from my iOS app

ios,objective-c,paypal
I have an http PayPal URL with some parameters that leads to a payment page for some item. E.g. https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&[email protected]&item_name=Some+item&amount=2.50 leads to the page for this dummy item with parameters item_name="Some item" and amount="2.50". All I need to do is open that page in the iOS PayPal app - from...

How to use active merchant to send money from a Rails app using PayPal?

ruby-on-rails,paypal,activemerchant
In my app, every month I have to send money to the people who sell products through my app. I use active merchant to receive money. Can I use it to send money automatically using PayPal? How? If can't, what are the alternatives?

Perl, LWP “certificate verify failed” with paypal.com

perl,ssl,paypal,lwp,lwp-useragent
Not 100% sure this is a Perl issue, but it seems to be. I have an IPN script that connects with PayPal to verify transactions. It was working fine until yesterday, when I installed LWP::Protocol::https. Since then, it's been failing with the error: Can't connect to www.paypal.com:443 (certificate verify failed)...

PayPal REST API Payment::get doesn't return Phone

php,laravel,laravel-4,paypal,paypal-rest-sdk
Basically, I'm creating an Order Management system and need to retrieve the "Payer" phone number. However in the JSON Response there is none... Does paypal simply not return this? The sand boxed buyer account I setup to test with has two phone numbers on record. Yet they phone # is...

“Add to Cart” button in HTML table doubles row height but sits in the top half of cell?

html,css,button,paypal
I am writing a new website with a single long catalog. Each item is on a separate row of an HTML table with an "Add to Cart" Paypal button in the right-hand cell. I'm new to PayPal and choose to use small buttons to affect the rows the least amount...

PayPal Bulk Payout API 'RISK_DECLINE'

paypal
Using the payouts API (in Ruby) I have some payouts that are error due to RISK_DECLINE: name="RISK_DECLINE" message="Transaction was declined" information_link="https://developer.paypal.com/webapps/developer/docs/api/#RISK_DECLINE What does RISK_DECLINE mean and what can be done to fix it? Note: the information_link contains returned by the API doesn't contain any information....

global name 'reverse' is not defined

python,django,paypal,django-paypal
I'm using the django-paypal library to use PayPal payments on my site. Following the example, I have set the paypal_dict and added the form. paypal_dict = { "business": settings.PAYPAL_RECEIVER_EMAIL, "amount": "10000000.00", "item_name": "name of the item", "invoice": "unique-invoice-id", "notify_url": "https://www.example.com" + reverse('paypal-ipn'), "return_url": "https://www.example.com/your-return-location/", "cancel_return": "https://www.example.com/your-cancel-location/", } However, I am...

Paypal CC Direct Payment error

paypal,payment-gateway,paypal-sandbox
I need some help to figure out paypal's API, all I'm trying to do is run a cc charge to my sandbox account, I've been looking at their documentation and code samples but I just can't find the right information right now, like where to add the sandbox endpoint. So,...

gas station payment preapproval process

paypal,paypal-adaptive-payments
I'm relatively new to the PayPal API. I'm looking for a way to achieve pre-approval process like gas stations. I don't know if it's possible. Please give me some ideas good folks! Problem: In a transaction at time t0, payment sender commits and pre-approves payment up to $X maximum to...

Email serial code for digial product after paypal payment

paypal
Basically, I want so that when someone purchases a serial code from my website for a product using PayPal, once the payment is received, it sends an email with a UNIQUE serial code (from a database?) to the email on the buyer's PayPal account. Anyone know of good software or...

Paypal IPN return datetime formatting

php,datetime,paypal,paypal-ipn
Palpal sandbox IPN returning datetime as Mon Jun 15 2015 12:04:00 GMT+0600 (Azores Standard Time). How to format this in PHP? Please look at my date format. This is not duplicate.

We’re sorry, we can’t complete your payment now. Please try again later - PayPal Payments Pro

paypal,paypal-sandbox
I've implemented IFrame version of Website Payments Pro Hosted. I register my button using the button API, get back a Url to feed into an IFrame which shows me the PayPal pay by credit card or login and pay options. My integration is working when signing in and using my...

Character encoding issue with PayPal IPN [duplicate]

php,paypal,paypal-ipn
This question already has an answer here: UTF-8 all the way through 14 answers Hello I stuck with this character encoding problem, please help. What I did: I created a database with UTF-8 Encoding. I created a database connection with charset, names etc set to UTF-8. I try to...

PayPal - Check tickets still available before sending the money

php,paypal,authorization,stock
I'm working on an online ticket distribution system. The system checks if the tickets are available before the user attempts to pay, however, it might happen that the tickets run out while the user is paying. I want to make it so that when the user actually completes the payment...

PayPal - update shipping information after SetExpressCheckout

.net,paypal
The following is a question related to the PayPal API. I am using PayPal Express Checkout, I am using this with .NET. With our software, there are two different ways that a user can checkout using PayPal. The one is that they select it as a payment option from the...

Fatal error: Call to a member function toJSON() on a non-object in /var/www/paypalsavedcard/app/order/payment.php on line 58

php,paypal
I am trying to run PayPal-PHP-SDK for payment through stored card but i am getting following error - Got Http response code 404 when accessing https://api.sandbox.paypal.com/v1/payments/payment. When I click on Payment ID, is shows fatal error - Fatal error: Call to a member function toJSON() on a non-object in /var/www/paypalsavedcard/app/order/payment.php...

PayPal Payment Pro - definitive answer on which field should be used to identify the order

paypal,paypal-ipn
I am implementing PayPal payments pro for a client at the moment, and therefore I am configuring the IPN service to confirm the purchase on the clients server. What I can't work out is which field should be used to "carry" the id of the order to be passed back...

PayPal IPN not firing on Reactivate Subscription

paypal,paypal-ipn
I have set up a automatic billing subscription button, When a user signs up, or we suspend a subscription, IPN sends data to our server, but when I click on the reactivate subscription link, to reactivate it, no IPN data is sent to our server. I tried both setting the...

Is card-swipe hardware payment system-specific?

paypal,credit-card,payment-processing,square
Looking at how most card swipe hardware for use with smartphones uses an interface as simple as the audio port, I'm wondering - is there an integration standard they're relying on? Put another way - could someone use the great looking Square stand with a different payment provider? Thanks,...

Paypal response avscode (Master Card) is always “X”

php,magento,paypal,paypal-sandbox
I'm writing a module which prevent an user to checkout (with payment method Paypal pro, using Master Card, Visa, etc) if the zip code and address he provided not match those information in his card. At first, I created 2 sandbox account (merchant and buyer) to check paypal's response. Here...

Invoice number in create_with_paypal node sdk PayPal

node.js,paypal,sails.js,paypal-sdk
I'm using Create PayPal SDK to make a transaction using paypal and redirecting the user to paypal. I'm using the same code as per suggested in above link, but i want to send invoice number with create paypal to be shown under transaction detail. but i am not able to...

PHP - Decoding data sent from paypal into friendly readable format

php,paypal
I have a basic php paypal script that works fine (I'm working on sandbox) my issue is the response I get from paypal is unreadable and cannot therefore be use to do what I want i.e update my database here's what I'm getting: Array ( [TOKEN] => EC%xxxxx0T [BILLINGAGREEMENTACCEPTEDSTATUS] =>...

PayPal REST Api Brazilian BRL Currency

paypal
I'm developing a project to integrate PayPal. The project needs paypal method and credit card method. Paypal payment is working perfectly but, the credit card payment isn't. When I try to create a credit card payment the remote server returns an error: {"name":"VALIDATION_ERROR","details":[{"field":"transactions[0].amount.currency","issue":"Value is not supported at this time"}],"message":"Invalid request...

managed paypal accounts with least friction?

python,paypal,oauth,payment
I'd like to be able to pay the users of my site using PayPal Mass Payment. I think this is pretty straightforward if they have a PayPal account. However, if they do not have a PayPal account, is there any way to have them sign up through my site, without...

Paypal payment integration selection

php,paypal
i have to integrate paypal payment gateway in php and iam in a state of confusion of selecting which method i have to choose. I have gone through paypal developers documentation and found two methods. 1) REST API 2) Classic API In classic apis there are still lot other options....

How does a WebHook work?

php,http,paypal,stripe-payments,webhooks
I'm currently implementing payments platform to my website wich is very similar to Stripe, but I still can't understand the process or how should I use WebHooks since I need to specify one on my account in the payments platform. So let's say a person pays in my website for...

Paypal Payments (Authorization & Capture) not returning Authorization ID

api,paypal,authorization,capture
According to the documentation the paypal payment method should be able to do Authorization & Capture just fine. The following excerpt under the PayPal authorizations excerpt specifically states how to go about it: First get payment approval and execute the payment as you normally would do for a PayPal payment....

django paypal notify_url not configured correctly or working

django,python-2.7,paypal,paypal-ipn,paypal-sandbox
I did a pip install for django paypal. The button renders and the payment goes through. The return url works too but the notify_url part is not working. So I cannot update my database that a sale has gone through. I don't get any errors either so I am stumped....

Paypal log customers transactions

paypal,paypal-ipn
I am working on a web app which will allow small businesses to track their income. I would like a user of the app to register their paypal account and then paypal inform my software when they have received a payment from one of their customers so it can be...

Class “String” not found error in PayPal core sdk

php,paypal,paypal-rest-sdk
I am getting the following error all of sudden Fatal error: Class 'string' not found in \vendor\paypal\sdk-core-php\lib\PayPal\Common\PPModel.php on line 51 Did anything change in recent Wordpress update?...

errors in PHP Paypal pay request

php,pdo,paypal,paypal-sandbox,paypal-rest-sdk
I have written a library program where a user can search for books. I am now onto the part where a user can select an item by it's ID and their own username. This then sets a a payment on PayPal for the user to approve. Now I've made a...

Paypal IPN set “no account” as default

paypal,paypal-ipn
I have a working paypal IPN, but ive been wondering: can I somehow set the "I have no paypal account" as the default choice when a customer is directed to paypal?

PayPal(PHP): match customer with order

php,paypal,paypal-ipn
I am using my own cart and "Aggregate cart amount" method (https://www.paypal.com/us/cgi-bin/webscr?cmd=_pdn_howto_checkout_outside) with Buy Now button to pass total amount to PayPal. I also have IPN listener to verify if the order was processed which works well. What I need is to send email to customer and to myself with...

PayPal API call daily limit

api,paypal,limit
Does anyone know how many API calls PayPal allow each day? I'm using GetRecurringPaymentsProfileDetails to check if payment has been successfully made and I might be doing the API call a lot of times each day. They have the error code on their docs but didn't specify the rate limit....

Is this a valid approach to using Paypal IPN?

php,paypal
This is the pseudo code that i will implement: include("../../application/config/db_config.php"); if ($payment_status == 'Completed') { if customer/order details exist in table { change payment_status to completed, create PDF and Email to customer_email. } elseif customer/order details not exist in table { insert details into table, create PDF and Email to...

Specific log4net-logfile for PayPal

c#,paypal,log4net,log4net-configuration
Is it possible to specify the logfile in the App.config? I found these parameters in .NET: https://github.com/paypal/sdk-core-dotnet/wiki/SDK-Configuration-Parameters In PHP it seems to be possible (Logging): https://github.com/paypal/sdk-core-php/wiki/Configuring-the-SDK Now, the informations will be saved in the first of many stated logfiles....

Node.js, Promises & Recursion - Possible?

javascript,node.js,recursion,paypal,promise
I want to retrieve transactions from paypal until there is no more transactions to retrieve. I would like to do it while using recursive function. I do not manage to figure out how to do it. Is it possible? I can do the recursion but no to aggregate the transactions...

Send Name and Phone to Paypal Checkout

php,paypal,paypal-sandbox
I'm trying to send a couple things to Paypal based on a link I found in their docs first_name last_name night_phone_a I've prepopulated these friends but on the Order Summary I do not see any of these fields. In theory, should I see these fiends? I want to have them...

Payflow checkout error on mobile “Invalid transaction type”, works great on web

android,mobile,paypal,payflowlink
![After I enter all the CC info and press pay, this is the response from Payflow][1] I have successfully used the page on web to make payments, but now when I want to make payments on a mobile device, I press the link to the payflow hosted checkout page, I...

Paypal Integration in Objective C

ios,objective-c,paypal
I have a problem in Paypal integration in iOS. I've read the full documentation, but: [PayPalMobile initializeWithClientIdsForEnvironments:@{PayPalEnvironmentProduction : @"",PayPalEnvironmentSandbox : @"YOUR_CLIENT_ID_FOR_SANDBOX"}]; How do we find the SAND BOX id for client? I properly get the Client id but problem is with SANDBOX id for client....

Laravel call function from another controller during validation for Paypal payment

php,paypal,laravel-5
I have a registration form (using Laravel 5 here), which upon submit calls [email protected] public function postRegister(Requests\RegisterBusinessRequest $request) { #1. get input, fill new class and save to database #2. call [email protected] } What I'm trying to do is call my PayPalController function to process payment, I've tried return Redirect::action('[email protected]');...

Change value of form input before submit

javascript,jquery,paypal
I've got a PayPal button. <form method="post" action= "https://www.paypal.com/cgi-bin/webscr"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="[email protected]"> <input type="hidden" name="item_name" value="Item name"> <input type="hidden" name="item_number" value="1234"> <input type="hidden" name="amount" value=0> <input type="hidden" name="no_shipping" value="1"> <input type="image"...

How to find which user did bill after PayPal billing?

ruby-on-rails,paypal
I use in my Ruby on Rails app PayPal Buy nowbutton with the next code: <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="SOME_VALUE_HERE"> <input type="image" src="https://www.paypalobjects.com/en_US/IL/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0"...

Capistrano and ActiveMerchant Paypal will not Deploy due to ArgumentError: An API Certificate or API Signature is required to make requests to PayPal

ruby-on-rails,ruby,paypal,activemerchant
I have an eCommerce site that I use paypal via ActiveMechant. In Development everything works well, but when I deploy it gives me this error... ArgumentError: An API Certificate or API Signature is required to make requests to PayPal /var/www/ross_store/shared/bundle/ruby/2.2.0/gems/activemerchant-1.48.0/lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb:78:in `initialize' My production.rb config looks like... config.after_initialize do ActiveMerchant::Billing::Base.mode =...

Payflow reports “User authentication failed”

paypal,paypal-rest-sdk,payflowpro,payflowlink
I'm trying to use the RESTful API to issue a refund and Payflow responds with "User authentication failed." I've double-checked my API user credentials and it still isn't working.

PayPal API Malformed Request

php,laravel,laravel-4,paypal,paypal-rest-sdk
I've edited my code to calculate correctly, however I am receiving a Malformed Request error when I attempt to create a Payment. If someone could please provide some insight on where I might've gone wrong I'd greatly appreciate it. As I cannot figure out why the request is being considered...

Paypal Sandbox - notify url issue

php,laravel,paypal,paypal-ipn,paypal-sandbox
I am developing online store application and I have difficult struggle with recieving order information to my notify url. Following this documentation I have created my paypal form: <form method="post" action="https://www.sandbox.paypal.com/cgi-bin/webscr"> <fieldset> <input id="buy" name="submit" type="submit" class="btn btn-primary" value="Buy" id=""> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="[email protected]"> <input type="hidden"...

PayPal Web Payments Pro Hosted - Credit Card payment confirmation page

paypal,paypal-sandbox
I've implemented Website Payments Pro Hosted on my website. I can pay using the PayPal log in and it gives me the link to return to my store which is fine as I then display my order confirmation page to the user. When the user decides to pay via credit...

Executing delayed chained payment, partially to one of the many secondary receivers

paypal,paypal-adaptive-payments
We have a situation, where sender will do digital goods(services) from multiple provider, but sender do the payment in one transaction in delayed chained payment mode, so initially primary receiver will receive all money. Now the primary receiver will have to execute payment to send money to the secondary receivers....

PayPal Rest API SDK: How to add the SOLUTIONTYPE option (or equivalent)

php,api,rest,paypal,paypal-rest-sdk
I would like my PayPal express checkout integration, which uses the PHP Rest API SDK, to show the option 'pay using a debet or credit card' but that option is currently not showing. 'PayPal account optional' is on in the account settings, so that's not the problem. I have figured...

How do I use Paypal to sell something and have something in SQL change after the payment is confirmed?

php,sql,paypal,paypal-ipn,paypal-sandbox
I have a website I am making in PHP and I need to sell an online product. When someone buys this product I need a way to have my website notified and change some information in an SQL table. I have googled this for the past five hours and I...

How to update credit card details on a Paypal subscription button

paypal
I have set up a subscription button, When a user chooses to pay by credit card instead of a paypal account, how would they go about updating the credit card, eg. if it has expired. I have seen a modify option , but that seems to be for upgrading their...

Monthly Paypal Payments with Bootstrap Pricing Slider

javascript,jquery,css,paypal,paypal-subscriptions
I have a nice Bootstrap Pricing Slider which originally came from here: http://amirolahmad.github.io/bootstrap-pricing-slider/ In my Bootstrap Pricing Slider i have "total amount" after all the math, and i get a score which says the total. I have "Process" button which normally does nothing and doesn't forwarding to anywhere. I want...

PayPal button sends amount donated to MySQL server [closed]

mysql,paypal
I need my PayPal donation button to send/report the amount donated to an SQL database.

A simple Checkout Button?

paypal
I am using the simple paypal-provided HTML buttons, with 'add to cart' buttons. Does anyone know the simple code to send the user to the checkout page? For instance, a user has added an item to their cart, then clicked on the continue shopping button, how do they return to...

Getting Failed to connect to host Input Server Uri = https://pilot-payflowpro.paypal.com:443

paypal
Getting this response for a very basic paypal payments advanced call: Transaction failed! Please try again with another payment method. (server response follows) Array ( [STATE] => CA [RESPMSG] => Failed to connect to host Input Server Uri = https://pilot-payflowpro.paypal.com:443 [SHIPTOSTREET] => 1234 Park Ave [SHIPTOSTATE] => CA [STREET] =>...

“Validation error: PayPal currencies do not match” in WooCommerce

wordpress,validation,paypal,woocommerce,currency
Using WooCommerce and the standard PayPal gateway to accept payments. When testing in Sandbox mode, everything works great. When we test live with a real transaction, payment goes through no problem, but within WooCommerce there is a note as follows: "Validation error: PayPal currencies do not match (code USD). Order...

In-App Purchase for uploading content to server from app

ios,paypal,in-app-purchase
I am working on an app that basically allow user to upload some videos and docs. Client wants to add payment for uploading contents. Like if user upload 10 photos, its free but for more than 10 user has to pay some charges say 5$ for next photos. I just...

using django paypal getting error ('False', 'buy') KeyError at /

python,django,python-2.7,paypal,keyerror
I think I am getting this error because I am adding a second key to the context variable and django paypal doesn't like it. But I don't really know to be honest. It renders ok with no error when I don't include the second key in the context variable and...

How to explicitly reject an IPN request

paypal,paypal-ipn
In the documentation for IPN, it says things like "Check email address to make sure that this is not a spoof". But I cannot see what to do when that is the case, and how I tell PayPal I want to reject a transaction. E.g. do I sent back a...

Paypal sdk asp.net return (400) Bad Request

asp.net,asp.net-mvc,paypal,paypal-sandbox,paypal-rest-sdk
I'm trying to use Paypal for payment with credit card on my website that in asp.net mvc but every time I face a problem that it return with exception (400) Bad Request. so I tried to use the samples here specially the sample of PaymentWithCreditCard and it work very well...

Python get value from input element with lxml xpath

python,xpath,paypal
i want to make paypal cURL login, so i need auth value. i try to get auth value from html source with this python code import requests import lxml.html import StringIO from xml.etree.ElementTree import ElementTree r = requests.get("https://paypal.com/cgi-bin/webscr?cmd=_login-run") login_page = r.text.encode('utf-8') #printing html source html = lxml.html.fromstring(login_page) #printing <Element html...

Paypal - create a custom Buy Now button

php,paypal
i want to create a custom but now (or another pay now paymnet... ) so i read the documetation at paypal.com (Paypal API). and i read about HTML variables. so far i understand that for create a buy now with dynamic price i need to set the amount variable to...

How to associate user to IPN

ruby-on-rails,paypal,devise,paypal-ipn
I am using rails to create an app where a use can by coins useing paypal. I am using a generic buy now button created on the Paypal site. I have the button is set to give a IPN to a URL on my website. Previously I had issues with...

Integrate Paypal recurring payment for android

android,paypal
I want to integrate recurrent payment for one of my android application via paypal but didn't find any straight forward way to implement this to my app. I've tried using paypal's future payment and become confused about the difference between recurrent payment and future payment. I need two information. What...

Paypal sandbox - test payment

php,paypal
I am developing online store application with Laravel 4.2 + Knockoutjs and I want to make test payments with paypal. So I have created new Paypal Sandbox account. Then I login and go to Dashboard->Accounts where I created buyer and seller accounts: [email protected] and [email protected] Following this documentation https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/formbasics/ this...

PHP PayPal Error - MALFORMED_REQUEST - Incoming JSON request does not map to API request

php,json,api,rest,paypal
I have an error using the PayPal REST API but I can't find a solution anywhere. I'm trying to send the user to PayPal to pay for the specified items in a session array. I have tried changing the payment method, the intent and the URLs. $this->setupCurl(); $this->setupPayPal(); $this->payer =...

Multiple recipients with one shopping cart

php,paypal
I have one (custom PHP) shopping cart, with multiple products. I am already using Encrypted Website Payments, to encrypt the final buy now button on the fly. Some items in the cart may be owned by myself, and some by my partner. So far, I've just been accepting all the...

What do the src and sra form fields for PayPal IPN HTML form do?

paypal,paypal-ipn,recurring-billing
Example: paypal recurring payments form When I have one enabled, it changes "for one month" to "for each month" on the checkout form, so why do I need two of them? I've looked for the variables here and cannot find it. https://developer.paypal.com/webapps/developer/docs/classic/ipn/integration-guide/IPNandPDTVariables/#id091EB0901HT...

Integrate PayPal IPN in Symfony Application

php,symfony2,paypal,paypal-ipn
I am trying to implement PayPals IPN in my Symfony Application. Users can buy credits in their account settings and they can pay them through PayPal. Now i want to receive Paypals Instant Payment Notification messages to be immediately informed, when the payment was successfuly. I followed this Video Tutorial...

PayPal Developer Account & API ..what happens if account is limited?

api,paypal
I have a hypothetical question about my PayPal developer account. Since the app I developed uses an API Username (myname-facilitator_api1.mydomain.com), API Password and API Signature to do the transactions, I am wondering what happens with the API access if my PayPal account for whatever reason becomes limited? I've had my...

Braintree Paypal works in Sandbox but not production

javascript,php,paypal,braintree
I am using Paypal/Braintree with PHP sdk and setting up Vault flow to create subscriptions. It all worked fine in Sandbox but now in product I get error code 93108, message: Unknown paymentMethodNonce. My client side code is: braintree.setup(GFormVATVars.br_client_token, "paypal", { container: "paypal-container", singleUse: false, onPaymentMethodReceived: function (obj) { $(".gform_next_button").show();...

Modify PayPal Express Checkout custom parameter after payment

paypal,paypal-ipn,paypal-sandbox
I'm using Paypal Express Checkout, for recurring payments without any trial. For the first payment, I'm using DoExpressCheckoutPayment API Operation (NVP), and store reference value in custom parameter. Before making payment, I don't have a customer ID, as it is generated after payment is made, so I'm using the reference...

PayPal button with 'min_amount' AND 'set_customer_limit'

php,paypal
I have created a non-hosted PayPal-Button with a text input to let users define an amount to pay. It's a subscription button. Now the problem is that there must be a minimum amount to pay, say 101 (CHF - Swiss francs). According to the docs of PayPal HTML-Variables I have...

working and integrating paypal payment pro [closed]

javascript,php,paypal,payment-gateway,paypal-sandbox
I have worked with paypal standard, but the documentation for paypal payment pro is quite vague and I am not sure how to be address it. For you're information, this is PayPal Pro: https://www.paypal.com/ca/webapps/mpp/paypal-payments-pro Now I did search around, and came accross this tutorial: http://code.tutsplus.com/tutorials/how-to-process-credit-cards-with-paypal-payments-pro-using-php--net-25397 but its quite outdated, and...

PayPal API QueryParameters not found

c#,paypal,server
I copied and pasted a section from here (You will have to scroll to the top - click C# on the right and scroll down/refresh) and have installed the PayPal API into the project Install-Package PayPal but QueryParameters is not found - is there a second part or something...

php parallel payment - transaction fee

php,paypal
How can i achieve this below scenario? taken fron payPal site. Receiver Pays the Fee in a Parallel Payment If the receivers pay the fee in a parallel payment, each receiver pays a portion of the fee, based on their assessment. The following example shows the receivers paying the fees:...

PayPal payout with paypal_id as a recipient

paypal
According to PayPal documentation when making a payout I can use unencrypted email (EMAIL), unencrypted phone number (PHONE), or encrypted PayPal account number (PAYPAL_ID) to specify a recipient. How can I get the paypal_id (with a mobile sdk and a server using REST API for example)? Will I get it...

PayPal adaptive payments returnUrl parameters

paypal,paypal-adaptive-payments
I'm using the adaptive payments API by first issuing a Pay request with actionType=CREATE and I was wondering if it is possible that PP will redirect the user to my site with the pay_key as GET parameter? This is what PP does with ExpressCheckout API and I was wondering if...

Can we use Paypal Express Checkout with “Ship to multiple address” option

magento,paypal
We are using Paypal express Checkout using onepage checkout option in Magento. Its working fine and now, I am trying to use the same inside "Ship to multiple address" option. Based upon my research, I am not sure whether it is possible or not. So, My question is - Can...

Paypal transaction fees deduct from each account equally - how? [closed]

paypal
I am using a Paypal adaptive payment method. I am selling products in a multi vendor store. Now the problem is all the transaction fee of the Paypal only deducts from my account (business account) and not from other sellers account. why is it that, why not deduct equal amount...

PayPal classical API with reoccuring payment in Laravel 4.2

php,laravel,paypal
I am working on Laravel 4.2 project. The project is about to provide the Video services to the dedicated customers. The client wants to use PayPal payment gateway and I have never done this before. He has provided me a Personal and a Business account with Classical API credentials and...

1 application many PayPal accounts

paypal,multiple-accounts
I am writing an web application where historically they have used their own PayPal account to take payments for classes run by external self-employed staff. However the tax system has changed and the charity would like thier clients to book through their website (just as before) but pay the freelance...

PayPal is Truncating My Return Query String

php,paypal
When connecting to PayPal I use a URL like this (I am using fake values here, but the structure is real): https://www.paypal.com/cgi-bin/webscr?&business=ZDS346347&cmd=_xclick&amount=100&item_name=Test&no_note=1&no_shipping=1&rm=2&return=http://www.website.com/registration.php?paypal=1&classid=122&sessionid=264&studentid=2286 The problem is when I send this url, it truncates my return value query string from this: paypal=1&classid=122&sessionid=264&studentid=2286 to this: paypal=1...

PayPal .Net Invoice API multiple Accounts

c#,.net,paypal
I cant add multiple PayPal-Merchant-Accounts to my C# PayPal-API. I found this solution, but i get an error by name id field: Is it possible to have multiple seller PayPal accounts a la eBay? (ASP.NET MVC 5) Is it possible to send the API login details by the Paypal-Object?

IPN delay and SAAS application

paypal,delay,paypal-ipn,saas
I have a SAAS web application that works through a subscription fee. If the subscription is valid everything works fine, otherwise the app goes in read-only mode until the customer renew the subscription. I've developed the payment flow with the PayPal API. The problem is that PayPal Documentation says this:...

How to Call Custom variable from paypal IPN?

php,paypal
So i have setup my button using php to send a custom variable: $vars = array( 'cmd' => '_s-xclick', 'hosted_button_id' => 'xxxxxxxxx', 'custom' => $lastId, ); header('Location: https://www.sandbox.paypal.com/cgi-bin/webscr?' . http_build_query($vars)); What i am trying to do here is send the Last Inserted Row id via Paypal to my paypal IPN....

Which paypal service should I use [closed]

paypal
In my web application (spring mvc + jsp), I have to implement payment process which I will take the money of someone (i.e buyer), deposit to someone else (i.e seller), and keep a portion for myself (i.e commission). I would like the process will perform on my website instead of...

Nock - how to mock binary response

javascript,node.js,unit-testing,paypal,nock
I'm writing code interacting with PayPal classic API. The first part of this interaction is to send request to PayPal and get a token from them. For that I use simple https request: function makePayPalRequestForToken(options, callback) { var requestOptions = { host: config.paypal.endpoint, path: '/nvp?' + qs.stringify(options), method: 'GET' };...

How to pass an EAV value to the Paypal payment information

php,magento,paypal,magento-1.9
I've introduced a custom EAV attribute for the customer object. Let's call it myvalue. Within several places in magento, I'm printing the value like this: echo Mage::getSingleton('customer/session')->getCustomer()->getMyvalue(); When the customer pays with paypal, I'd like to have myvalue in the reason as an addition to the order number. My intent...

Unable to load 'paypal' section from your config

c#,asp.net-mvc,paypal
I'm experiencing a problem with PayPal SDK for .NET. I've filled out my settings in the Web.config, but when I try to use the PayPal SDK's ConfigManager to fetch these settings, it comes up with the following error: Unable to load 'paypal' section from *.config: An error occurred creating the...