Hello, I am trying to get Stripe to send my Amilea Event customers an automated receipt. I have filled in the metadata section for the settings. I noticed in Stripe it sets up my clients as guest. Am i missing something in the settings or is this something that needs to be managed in the code? If so, can you provide some step-by-step instructions to adjust the code?
We will try to explain and help you as best we can. In Amelia, in MetaData only a description of the transaction are sent.
Stripe has its own "Customers" section, which is not updated, even if we enter the MetaData "customer: %customer_email%", customer information cannot be transferred at the moment, only the description of the transaction is possible for now.
But we will try to help you with the workaround. You can try going into ../wp-content/plugins/ameliabooking/src/Infrastructure/Services/Payment/StripeService.php
if (isset($data['metaData']['email'])) { $stripeData['receipt_email'] = $data['metaData']['email'];
}
Like this:
I don't know if it's going to work, though, if there isn't already a customer with this email registered in Stripe. But we hope this will help you.
Please let me know if that works from your end or not.
In regards to your second question, if you need to send invoices to your customers, you can do so with WooCommerce. You simply need to change a single setting. Go to the “Orders” page in WooCommerce (if you don’t have any orders yet you’ll need to add a new one to set this setting). If you’ve already used WooCommerce, simply open an existing order. Once you’ve opened the order, on the right side you will see “Order actions“. Click on it and choose “Email invoice/order details to the customer” and click on the “Update” button below it.
Now that you’ve set invoices when a customer schedules using the WooCommerce appointments option, they will automatically receive an invoice via email.
Hello, I am trying to get Stripe to send my Amilea Event customers an automated receipt. I have filled in the metadata section for the settings. I noticed in Stripe it sets up my clients as guest. Am i missing something in the settings or is this something that needs to be managed in the code? If so, can you provide some step-by-step instructions to adjust the code?
Hello Jeremy,
Thank you for reaching out to us.
We will try to explain and help you as best we can. In Amelia, in MetaData only a description of the transaction are sent.
Stripe has its own "Customers" section, which is not updated, even if we enter the MetaData "customer: %customer_email%", customer information cannot be transferred at the moment, only the description of the transaction is possible for now.
But we will try to help you with the workaround. You can try going into ../wp-content/plugins/ameliabooking/src/Infrastructure/Services/Payment/StripeService.php
Like this:
I don't know if it's going to work, though, if there isn't already a customer with this email registered in Stripe. But we hope this will help you.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
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, has anyone else managed to get it to work? I saw another ticket where someone was successful.
Is there a way to send my clients receipts from the Amila side of the booking process?
Hello Jeremy,
Please let me know if that works from your end or not.
In regards to your second question, if you need to send invoices to your customers, you can do so with WooCommerce. You simply need to change a single setting. Go to the “Orders” page in WooCommerce (if you don’t have any orders yet you’ll need to add a new one to set this setting). If you’ve already used WooCommerce, simply open an existing order. Once you’ve opened the order, on the right side you will see “Order actions“. Click on it and choose “Email invoice/order details to the customer” and click on the “Update” button below it.
Now that you’ve set invoices when a customer schedules using the WooCommerce appointments option, they will automatically receive an invoice via email.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
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