Unfortunately, currently, this feature is not built-in in Amelia. We plan to implement invoice option in the near future but for now as far as we know this can only be achieved with WooCommerce not with Stripe.
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 in case it does not you can try WooCommerce until we implement the invoice feature in Amelia.
Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.
We wish you all the best and hope you have a wonderful day ahead.
how can I make wpamelia send an invoice to the customer after paying with stripe?
because wpamelia does send a description to stripe but not an email address so that stripe can automatically send the invoice.
There is also no option in Amelia's plugin itself.
This is actually very illogical, because when a sale is made there is always an invoice.
Hello there,
Thank you for reaching out to us.
Unfortunately, currently, this feature is not built-in in Amelia. We plan to implement invoice option in the near future but for now as far as we know this can only be achieved with WooCommerce not with Stripe.
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 in case it does not you can try WooCommerce until we implement the invoice feature in Amelia.
Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.
We wish you all the best and hope you have a wonderful day ahead.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, 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