paypal-api

Paypal API for preapproved payments , is the merchant charged for pre-approved transactions ?

I'm running an classified ads website and I'm charging a specific fee for each ad placed. As you may know paypal charges a specific percent for each transaction + a specific amount fee (e.g 2,9% + 0.30 cents) . I have customers who place about 30 ads per month therefore I would like to integrate a schema that would cut the specific amou...

PayPal express checkout on the shopping cart

i wish to achieve: so in my shopping cart page i set session("Payment_Amount") = total and downloaded both asp files the wizard told me. expresschecout.asp and paypalfunctions.asp. and added the API credentials to the corect place. and i add the form from their wizard: <form action='expresscheckout.asp' METHOD='POST'> <input type='ima...

paypal SoapClient not working

I am using PHP's SoapClient class to connect to paypal. I have a number of problems: The paramaters I pass to the soap call are array('ReturnAllCurrencies'=>0, 'Version'=>'63.0') but as you can see in the request below, 63.0 is put in <param1> whatever that is. I don't even see ReturnAllCurrencies in the request. In this request I ...

What version of SOAP does the paypal API use?

Is it SOAP 1.1 or 1.2? ...

simple php SoapClient example for paypal needed

Could I get a simple example of using php's SoapClient class to make an empty call to paypal with nothing but the Version number? I have the correct WSDL url and server url so that's not what I need help with.. This is what I have: public function SOAPcall($function, $args=array()) { $args['Version'] = '63.0'; $args = new Soap...

PayPal discount can't make it work

Hi, I'm trying to setup a discount for a the whole cart using PayPal + Codeigniter, I got this working withouth the discounts. As far as I've read the only thing that I would need to do is set a hidden field discount_amount_cart as I saw here Here is my form: <form method="post" action="https://www.sandbox.paypal.com/cgi-bin/websc...

How do you troubleshoot an "Internal Error" error from Paypal Website Payments Pro?

I have a billing routine that uses recurring billing profiles in Paypal's Website Payments Pro. This routine successfully creates profiles and gets the profile information after creation using the paypal profileid and the GetRecurringPaymentsProfileDetails method. However, when I try to use UpdateRecurringPaymentsProfile method to updat...

Can someone show me the "hello world" of Paypal IPN?

I'd like to set up a PayPal donation box, and use their IPN protocol to monitor when donations come in. The documentation is enormously complex and full of features I'm not interested in. Is there a short snippet -- ideally in Python -- that shows how to, say, connect to Paypal, loop forever, and print "Just got $5" every time a donation...

Send money back using Paypal

Hello All, I have application where one can join with amount [10$] [which recurring permonth] , for which he/she can use paypal account or direct payment by visa or credit. I got success for creating recurring profile on paypal in both case [paypal account/visa-creditcard etc]. and at end of month we have to distribute prize Example: U...

Paypal API Question - Can I use Return Url to verify payment

I'm trying to create a simple paypal purchase system. Going through a few tutorials, it seems like I need to use the IPN (Instant Payment Notification) system to keep track of whether the order is paid. Is it sufficient to use the return url variable instead, and pass in the order id? For example, something like return="http://mysite.co...

PayPal Website Payments Standard API

I assume the answer to this is in the PayPal documentation somewhere, but I've been reading it for two days and my eyes are beginning to whirl. For Website Payments Standard, I create a page on my site (let's call this page A) which contains a dynamically generated form which contains a bunch of hidden fields detailing the content of th...

PayPal's CallerServices Works on localhost but not server

Hello, My PayPal Direct script works perfect on my machine. Both nUnit tests and via a website on localhost. However this first line of code fails on my server and another server. (both full trust) CallerServices caller = new CallerServices(); Message: The type initializer for 'com.paypal.sdk.core.soap.SOAPAPICaller' threw an exceptio...

PayPal API Listener Website Payments Standard URI

The PayPal IPN Guide documentation says clearly Post the request to www.paypal.com or www.sandbox.paypal.com, depending on whether you are going live or testing your listener in the Sandbox. Wait for a response from PayPal, which is either VERIFIED or INVALID. Well, I tried that (the Sandbox version), and the response was a full HTML...

Integrating paypal in website

How to integrate paypal at a website? and tracks the value of the payment of the user (will be store in a mysql database) , I dont have much experience using this ,can anyone link tutorials or scripts. Any help is appreciated. ...

Handling of PayPal IPN: is necessary? Can I use another method?

Reading PayPal developer documentation (and this is a lot of documentation) I'm not sure if IPN is mandatory or I can simply ignore it. Of course, I must implement some other mecanism in order to know if the payment was correct. I thought doing something like this: Create a new payment (via web service) with a different code in both r...

Paypal: Cancel or timeout a payment

I'm using Adaptive Payments API in order to create a new parallel payment. I'm reading documentation but I still have some questions: Is there any API operation for cancel this payment (obviously, sending payKey)? When I create this payment, can I specify a timeout? What is the default timeout for a paypal operation? Thanks. ...

Paypal PDT & IPN Question - Can we assume payment is completed when returned to site?

Hi, Can we assume that the payment is completed for a transaction when the customer is auto returned to our site? Paypal advices us to use their IPN system for other types of payment, like an e-check, but also tells us to tell the customer something along the lines of "Thank you for your payment. Your transaction has been completed, an...

Pay Pal API Integration Question

Hi! Got another problems :) I'm learning how to integrate PayPal API into my website. Everything works correctly, there's only one thing that's confusing me... For now, I'm working on Sandbox, maybe it does matter. When user enters amount I'm redirecting him to PayPal. There's login box (or payment with credit/debit card). After succe...

PayPal IPN - Send a link to pay an amount?

I have a PayPal implementation using IPN and it works fine. However, in some cases, I will need to be able to send out an email to a user with a link to click on and pay an invoice amount. I'm not really sure how to do this - I know I can send them to a particular page on my site with query string variables - but what would the PP code l...

Android and paypal API integration

All right all you android guys, I'm trying to integrate the Paypal API to make my app donations based. 2 questions: I can see the button, I click it, and it doesn't do anything! (the activity for checkoutIntent doesn't fire?) What are your experiences with donation based android apps? I want to make about $250 a month of this thing, i...