Paypal Button used outside of nop but sale recorded within nop

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 10 ans
I'm trying to create a mechanism whereby a product (actually, it's a subscription) can be sold using a Paypal button and then have these sales tracked in nop. I don't want to force customers through nop for this purchase as I want to make it as simple as possible and don't need the full 'shop' experience for the users.

I use nop as a shop for other products though and have Paypal payments working perfectly for this.

When I make a sale using my new button the IPN mechanism kicks in and informs nop about the sale but as nop wasn't expecting it it simply logs.... "PayPal IPN. Order is not found" as well as all the details about the transaction.

My ideal would be for these external sales to show as completed orders in nop... and I accept that it's likely that I will have to add a suitable product within nop for this at the very least.
Also, ideally, it would create users on the fly for this.

Does anyone know if this is possible... or even if I've explained the requirement adequately....!?

Kind regards,

James
Il y a 10 ans
The current paypal plugin does not support creating Orders which do not exist in the database. You will need to customise the Paypal plugin to handle the case to create the customer (or guest customer) and then create an order against it based upon the details provided by the Paypal IPN.
Il y a 10 ans
Hi Craig and many thanks for taking the time to reply. I wonder if anyone has actually done this and, if not, if anyone has any idea how much work might be involved in such a modification.

Kind regards,

James
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.