• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

PayPal plugin - do not register if payment was cancelled

magvils08

New Member
Hi,

I have a register form with the PayPal plugin as payment method.
When I look at the register table, I can see the PayPal transaction ID and status of the payment.

However, if someone is redirected to the PayPal payment and cancels (eg. closes the window), the participants is registered either way.

I can see the ones that cancels the payment (no ID or status), but is it possible to not register the participants to the table if the PayPal payment was not completed? And maybe show a message telling that the payment was not successful?
 
I can see the ones that cancels the payment (no ID or status), but is it possible to not register the participants to the table if the PayPal payment was not completed? And maybe show a message telling that the payment was not successful?

No, there isn't a way to not create the row for the form submission, just because of the way PayPal IPN works. It's asyncronous, meaning that the 'completed' response from PayPal doesn't arrive for some unspecified amount of time. Which could be hours. So we have to go ahead and create the record, and then update it whenever we get an IPN callback from PayPal with a status update.

Which is why we provide the "IPN Fields", where you can specify an element to store the IPN status, which gets updated whenever an IPN callback arrives from PayPal. So if the user never even clicks Pay, there will be no status. If they pay but the payment fails, the status will be Fail (or whatever it is). If they reverse their payment, it'll show as Reversed, etc. If the payment succeeds, it'll be Success.

So basically you have to then filter your data on the IPN Status field.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top