I want to hook my functions to Amelia, so when the purchase is completed (payment successful), it triggers invoice generation.
I use Stripe as a payment gateway, what Amelia hook can i use for that?
In this specific case, it is regarding an event, but if there is a general hook for all types of purhcases (services, appointments etc.), that's even better. If there's not, then if you can list the hooks for all types of purchases (event, service, booking etc.).
The info i need to retrieve from the payment are:
customer full name, product purchased, amount in EUR
Thanks for reaching out to us. Unfortunatelly, currently, Amelia doesn't have the option for sending invoices, but we are looking forward to adding this feature in the near future. It is possible to send the invoices with WooCoomerce, and you check more information on this link.
Regarding the WebHooks, here is the full list of WebHooks that you can use. Here we explained basics regarding the WebHooks usage, hopefully, it will be useful.
Yeah, I know Amelia doesn't have Invoicing, I don't need it personally, I use my own software (Solo.com.hr), I just want to hook my function to Amelia, after the payment is successful to send a POST request to their API to generate an invoice.
They have a woocommerce plugin, but I need a similar thing just for Amelia, without WooCommerce.
function my_custom_function ($reservationData, $container) { if ($reservationData && $reservationData['booking']['payments'][0]['status'] === 'paid') { // TODO - hook your invoice integration here // Customer info -> $reservationData['booking']['customer'] // Payment info -> $reservationData['booking']['payments'][0] } } add_action('AmeliaBookingAddedBeforeNotify', 'my_custom_function');
Hi,
I want to hook my functions to Amelia, so when the purchase is completed (payment successful), it triggers invoice generation.
I use Stripe as a payment gateway, what Amelia hook can i use for that?
In this specific case, it is regarding an event, but if there is a general hook for all types of purhcases (services, appointments etc.), that's even better. If there's not, then if you can list the hooks for all types of purchases (event, service, booking etc.).
The info i need to retrieve from the payment are:
customer full name, product purchased, amount in EUR
Thanks in advance!
Hello Petar,
Thanks for reaching out to us. Unfortunatelly, currently, Amelia doesn't have the option for sending invoices, but we are looking forward to adding this feature in the near future. It is possible to send the invoices with WooCoomerce, and you check more information on this link.
Regarding the WebHooks, here is the full list of WebHooks that you can use. Here we explained basics regarding the WebHooks usage, hopefully, it will be useful.
I hope it helps.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Stefan,
Thank you for your reply!
I hope you had a nice Christmas.
Yeah, I know Amelia doesn't have Invoicing, I don't need it personally, I use my own software (Solo.com.hr), I just want to hook my function to Amelia, after the payment is successful to send a POST request to their API to generate an invoice.
They have a woocommerce plugin, but I need a similar thing just for Amelia, without WooCommerce.
Best,
Petar
Hello Petar,
Let me consult developers regarding this request. They should be able to come up with the hook.
I will report back as soon as i have the details.
Thank you for your patience and understanding.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello Petar,
You can use this hook, with booking data:
Please, let us know if it works.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables