Hi,
You can explore action hooks we have available in our code snippet library here:
https://github.com/moonstonemedia/WP-Simple-Pay-Library
Or inspect the JavaScript within the plugin to see where you could hook in.
Hope that helps.
Thread Starter
bezz80
(@bezz80)
Thanks Phil
I tried to look at your link
but I have not figured out how I have to use the code
you can explain to me how I have to use the code to activate a custom event on-click (or on-submit) when the user clicks on the payment button stripe?
thanks a lot for your help
PS:
To enter the code but not create problems with updates of your plug-in, should I use a plug-in like this https://ww.wp.xz.cn/plugins/my-custom-functions/ ?
Sorry, but we don’t have the bandwidth to recommend any custom code beyond what we provide with documentation and code snippets.
Yes, when adding code to customize the plugin via filter & action hooks, we recommend the plugin “My Custom Functions” as one solution as you pointed out.
https://wpsimplepay.com/docs/misc/stripe-checkout-filters/
If you need additional customizations beyond that, we can recommend the service https://codeable.io/ for development help.