Events triggered during successful payement - Forum | JoomShaper
Staff replied EasyStore

Events triggered during successful payement

Asked by KJ 1 year ago Last activity 1 year ago

Hi,

I want to adjust users membership based on what they have purchased so after a successful payment what events can I capture in order to trigger some bespoke code.

Scenario:

User wants product 1.

User successfully pays for product 1 using the paypal plugin.

User's joomla group is amended to " Product 1 owners group "

Can this happen?

Thanks

4 replies

Ofi Khan Staff

Hello KJ

Sorry, we do not provide customization support. You have to customize the component by yourself for this.

Best regards

KJ Asked this

Hi,

I can customise it myself, just wanted some direction as to where I should start without destroying the core and not wanting to change something that a future update will overwrite.

Seeing as the paypal plugin must receive a successful payment event in order to update the page i was assuming I could capture this event and do something?

Thanks

Ofi Khan Staff

I am not the developer but I think you should check in this location:

plugins/easystore/paypal

KJ Asked this

Ok great thanks

Ofi Khan Staff

You are welcome 😊

Ofi Khan Staff

Just checking in to see if you had any feedback regarding the solution provided. If the answer resolved your query, you can mark it as accepted to help close the post and guide others with similar questions. There is a button to accept answers after each comment.

If there's anything else you need assistance with, feel free to let us know!

Log in to reply.