GithubHelp home page GithubHelp logo

snowplow-archive / codeigniter-paypal-ipn Goto Github PK

View Code? Open in Web Editor NEW
111.0 111.0 34.0 555 KB

A CodeIgniter library for working with the PayPal IPN (Instant Payment Notification) service

PHP 100.00%

codeigniter-paypal-ipn's People

Contributors

alexanderdean avatar brwnll avatar donjakobo avatar markkasaboski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codeigniter-paypal-ipn's Issues

Duplicate rows in database

After setting up, when I run a test order I get a successful order logged in the db and then right after I get another record of failed in the db. Any idea why this is happening?

Paypal keeps informing me that IPN failed

I've started using your fantastic library, and testing works just fine, I see transactions through the log database and for orders and order items. The API on my side is fully accessible and CSRF is disabled for that URI.

However, Paypal's IPN history keeps notifying me about failing!? I'm not sure how to debug this now as Paypal says error 500 was thrown, my CI logs don't show any errors, and I see successful entries for logs and IPN's come through just fine. I'm assuming 'something' is failing somewhere during the response from paypal, maybe I don't respond back?

Any ideas where to start with this? I am using a simple IPN response from a web payment form against paypal.

Where it generates paypal button or form ?

Hi,

I have some confusion that is it also generate paypal buy now button or form?
if yes, then how it get the ipn value (return url) and other field like item name, amount etc ?

Thanks,
B. Singh

Items with Same Name Error

I am having an error with items having the same name (but different SKUs) are not being correctly added to the database on order extraction.

My use case is:
The site offers multiple variations of a product, which is tracked by the SKU. So the order could look like:

"Rugged Mtn. Bike"
sku: "MTNBIKE"
qnty: 1
price: $100

"Rugged Mtn. Bike"
sku: "MTNBIKE-RED"
qnty: 1
price: $150

This results in only one item being added to the order items db table. But the totals of the transactions being correct.

If you have time, and an idea for a quick fix, please let me know, otherwise I'll do a branch and see if I can't put something together!

Thanks

Fix discount behaviour

From @clarkgriswold:

You're setting $this->order['discount'] by taking the sum of orderItems
mc_gross
and subtracting order mc_gross which ends up being the tax but
as a negative value. Just wondering what the idea is here.

The basic idea was that, if you take away the sum of the line item mc_gross's from the order's mc_gross, you are left with the discount which was applied to that order as a line item. But: PayPal IPN already returns a discount field, so I think it would be better to remove this custom discount calculation behaviour (or at least rename it to calculated_discount so it doesn't overwrite PayPal IPN's discount).

Thoughts?

Response Code Error

PayPal is telling me that the IPNs are not being received correctly for payment transactions. It seems odd because NONE of the transactions in PayPal's "IPN History" that are the payment type go through. They are all marked as a 500 response code and "retrying".

But ALL transaction types of other types (such as refund) are giving the HTTP 200 response and are marked as "sent".

And finally, even though the "IPN History" shows all payment transactions as 500 codes, all the corresponding orders have been added to my DB correctly.

Any idea what the issue could be?

Add support for refunds

Move order status into a new table tracking order history, add support for refunds into that order history.

ipn_order_items not being inserted in sandbox mode

First of all, great library, appreciate all the work.

I recently setup the library and was testing in on the PayPal sandbox, everything appears to work great, except 'ipn_order_items' is not being filled with any items.

Is this a known issue with the library when used with the sandbox, or is there a way I can verify that products are correctly being added to the DB before going live?

Thanks.

Recurring Payments Profile

Hi,

How would you implement recurring payments profile for the IPN. When I try I get errors including an undefined index for the payment status variable.

Thanks

Adding product decsription

Hi,

I want to pass product description so that it will be visible on paypal receipt email. Currently I am using $params to pass description. Its showing on paypal while paying but not on email received from paypal. How can I shwo information of products in email using this API??

Thanks
Baljit

Stumped

I have set this up on several CI 2 installs and cannot get any of them to work. The current install is with CI 2.1 and is using spark php-activeRecord 2.0.2 model. I am a newbie to CI, but had at one point gotten this to work, I don't remember what i did, but now it won't even work with a fresh install and only running the ipn without any tweeks, and no activerecord.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.