paypal

PayPal Adaptive Payments and SOAP SDK

Hi all, I'm integrating Adaptive Payments in a PHP application that already uses the PayPal SOAP SDK for MassPay. Everything looks very simple the problem is when calling the MassPay integration it now has a name clash because CallerServices were already declared by the Adaptive Payments API. Is there any easy (and good) way for those ...

How should I skim money off a transaction between 2 people on my site?

This is sort of not relevant to programming but I think it also is: MY site is being built around people selling products through the site and customers buying the product through it. I'll then shave a % off the top of the sale. As far as skimming a % of the sale off the top, what is the order of events that should take place to do tha...

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...

PHP filter POST from PayPal IPN?

I have a PayPal IPN PHP file set up which assigns all of the IPN post contents variables to variables. This file is only 'hit' from paypal.com (ie nobody should know it's url). My question is should I take the necessary steps to filter and sanitize the POST data from PayPal or is masking my IPN file name (IPN_082j3f08jasdf.php) enough? ...

How to know the URL referrer in PHP?

I am new to integrating paypal with sites so maybe there's a readily available method from the service I could use? What I am trying to do is when the user clicks "return to my website", I want my return URL to know that the referrer is paypal so I can send him to the homepage automatically. How do I go about this? I tried $_SERVER['HTTP...

How to treat payment status on IPN

I was thinking how to treat the payment status in my database. I want to store all payments in my database (also the pending ones). But we have to check in the IPN process if there is already a payment with such txn_id, right? Let's suppose I receive a payment that is pending and I store it on my database. After that, when the payment ...

does both google checkout and paypal return a transaction id?

once the user has paid using either google checkout or paypal, do you get a response back with the transaction id? can you then use their api to pull details on the transaction later on for reports? ...

fsockopen() returns null pointer, and $errstr is empty (no error message)

[Edit] I have reedited the previous question - since I had misunderstood what was causing the problem - and therefore the ample snippet I had before was a red herring. Thanks to wimdvx, I have a clearer idea as to what is going on. First of all, I am using code that is base on this one, to handle IPN notifications from Paypal. I was u...

Paypal IPN returning HTTP/1.1 200 OK

I am testing integrating a website to Paypal, using Web Payments standard and HTML Variables. I have written a simple PHP script to handle the IPN notifications. According to the Paypal documentation, the Paypal server responds with a simple 'VERIFIED' or 'INVALID' response, once you ping the received data back to Paypal. In my handle...

How to integrate the Paypal SDK with eclipse IDE under Ubuntu

Hi All, Right now, I need to develop an app of Paypal on android platform, I hope to program in Eclipse, and I have installed the android SDK successfully. Could anybody give me any suggestion or hint of how to integrate the Paypal's api with the Eclipse IDE? Any detail about this will be more grateful. ...

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...

[PayPal] exchange_rate IPN question

Hi... I'm confused about WHEN I'll get a exchange_rate non-null value from IPN... If I have option "block payments from other currencies etc" set to "No, but convert to USD" (in the payment receiving options of account) do I will ALWAYS get the mc_gross already converted to USD and null exchange_rate? Could someone explain-me it more ...

ubercart + paypal payments... 2 questions

hi, I'm planning to use paypal payment method together with ubercart, in order to not have to take care about security issues. 1) I need to store the customers addresses in order to know where to ship the products. I was wondering if I can let customer insert the addresses in paypal, and then somehow get them, or I should ask the custo...

Do I need SSL Layer for my website if I use Paypal Standard Payment ?

If I use the completely free service Paypal Standard Payment together with Drupal Ubercart module, do I need to enable SSL Secure Layer for my website ? I guess I don't need it because the credit cards numbers are inserted in Paypal. ps. Can I embed paypal into mywebsite instead of forwarding my customers ? Thanks ...

Looking for recommendations for a shopping cart control with paypal connection

I am looking for a nice control that allows me to have a shopping cart on my webpage. Requirements: - Easy to implement. I want to add items into the cart from everywhere. Like mycart.Add(new CartItem("Name", "Description", Price")) Implemented shopping cart overview with the ability to delete previous added items. Allows connection...

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...

Getting PayPal Confirmation after checkout in PHP, without a framework

I used to have a "Buy Now" button that would go through PayPal, and then, through the button's advanced option, I redirected the users to a "Success" page that would give the serial for the product they purchased. Obviously, this page had to get confirmation from PayPal, through the variables PayPal gave it, in order to know that a paym...

Paypal recurring return variables

Guys I use the paypal recurring payment.When the payment is completed then it returns only [auth] => -bo4Ft_iPRN2E7Svk5x2s1UAIJ4-hfnCdmpXExbPM8KL6lFw9ChFI72D5wzy_0h2zGxSKvPxEICYrAPbVPJ62Dzfpwg1cG57jUcjYUObVrYKezMfAJP2v26IyNkyYga_s7h4AiQVzdV7jwfs6E_wJCUfDJLXhNqA7pXZZFB86Z7vJ4mrrmhUduhO-MVXwRQbIZnklc_pA4UQCdVxXd9ppiqemlu [form_charse...

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. ...