DB Read not working on PayPal IPN Event

embo 27 Jun, 2014
I have PayPal Listener working properly.
An Email is sent to me On Verified paypal transaction.
The next action that's taken is a DB Read where I've hard coded this condition:
<?php return array('uniq_id' => 'FD17F09C-C2BE-40BB-A6A4-97DF68AEC6FF'); ?>

Every time PayPal IPN triggers this event, the DB Read comes back with "not_found'. I do know for sure that the record exists. Also, if I put this DB Read action into the On Load of the form, it works fine.

How can I troubleshoot this further?
GreyHead 27 Jun, 2014
Hi embo,

Sorry, I can't think of any obvious reason why that wouldn't work in a Listener action. Maybe Max has a suggestion, he knows much better how the code works here.

Bob
embo 27 Jun, 2014
I may have figured this one out... I was trying to do the PayPal Listener in a different form. I guess I can't do that? When I put the PayPal Listener into the form that actually submits the data, it works. Or perhaps there was some other issue?
GreyHead 28 Jun, 2014
Hi embo,

I think that it would probably work in a different form but you'd have to make sure that the URL you sent to PayPal identified the form as well as the event. Better though to keep it tidy and stay with the same form.

Bob
This topic is locked and no more replies can be posted.