Comments (7)
Anyone?
from codeigniter-paypal-ipn.
Sorry @toymachiner62, was away on holiday.
Have you gone through debug mode to check that you haven't got a problem with your setup? Here are my instructions on debug mode:
To switch on debugging, set 'debug' => TRUE for your current environment in the file:
https://github.com/orderly/codeigniter-paypal-ipn/blob/master/common/config/paypal_ipn.php
Once debugging is switched on, this is how you test:
- Run through your checkout process as normal, making your PayPal sandbox payment etc
- PayPal will fire your IPN script, something will go wrong
- Now you manually invoke your IPN URL in a browser and see what happens (e.g. PHP error, database not found error)
- Fix
- Repeat
The way that debug mode works is that it stores the last IPN access which had IPN data (i.e. POST variables) into the database, and then when you access the IPN URL directly without data, it reloads the cached data. So it's kind of like a replay mode which let's you directly inspect what the IPN handler is doing.
Let me know how you get on. Also, feel free to provide further details of your PayPal button - there may be some edge case with your button which the library doesn't cover.
from codeigniter-paypal-ipn.
I tried hitting the ipn url after i submitted data but nothing came to the screen and i did have it on debug mode. I will admit though that i had hit other pages on my site before trying my ipn listener url in the browser, but i'm not sure if that will matter or not.
The ipn listener was just a blank screen. I do think that maybe there is a bug with dropdown options and selections not working with your library.
If you could verify that i'm correct and fix if necessary that would be great. Your library has been very helpful and i created a work around where i'm using jquery to get the dropdown value and pass it in the "custom" field since that one works.
from codeigniter-paypal-ipn.
The code that processes dropdown options is here:
I haven't had any other reports that it isn't working...
The debug functionality saves the IPN response into the database - run the PHP function unserialize()
on the contents of the detail
field for the cached row, and that should show you what PayPal is sending to the IPN tracker.
If you paste the unserialized version in here (minus any confidential data of course), I can help figure out what is going wrong...
from codeigniter-paypal-ipn.
Any update @toymachiner62 or can I close?
from codeigniter-paypal-ipn.
I would say go ahead and close. I don't have time to look into it right now and i got a solution using the "custom" field and putting serializable data in there. The next time i need to use this library i'll try again and open another ticket if necessary.
Thanks for this nice library btw.
from codeigniter-paypal-ipn.
No worries, closing...
from codeigniter-paypal-ipn.
Related Issues (20)
- Response Code Error HOT 12
- Paypal keeps informing me that IPN failed HOT 2
- Where it generates paypal button or form ? HOT 1
- Register on Packagist
- Items with Same Name Error HOT 3
- Stumped HOT 19
- Duplicate rows in database HOT 8
- Add support for refunds
- Recurring Payments Profile HOT 1
- about recurring payment
- Adding product decsription
- Newline handling is broken
- Wrong readme instructions
- Receiver email (email) does not match merchant's
- Update Doctrine version with ActiveRecord version fixes/improvements
- Fix discount behaviour HOT 2
- Apply Clark's line-item option fixes to Doctrine version
- Re-license with more permissive license
- ipn_order_items not being inserted in sandbox mode HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeigniter-paypal-ipn.