Comments 1Mark Saunders started the conversationOctober 12, 2020 at 9:24amI'm receiving payments via Stripe but only have an incomprehensible ID to map the payment to. How can I send over metadata to Stripe to match-up the customer with a specific payment?[deleted] repliedOctober 13, 2020 at 12:06amHi Mark,Thank you for your message.By default, no data is forwarded to Stripe, but you can change that. You have to go through the database. Please be careful when you update the table, because if you delete or add anything else, it can cause the plugin not to work properly. When you access your database via PHPMyAdmin (or some other tool), access wp_options table: It is possible that your prefix is not "wp_", but something else, so if that is the case, please look for "your_prefix_options" table. When you access it, you can search through the column "option_name". Search for the term "amelia_settings": The search will return only one row, and you need to edit it: In "option_value" column, search for "stripe": There, you can see "description" and "metaData", and it's currently set to "enabled":false If you change that to "enabled":true, you can add notification placeholders for appointments and events. For example: "description": { "enabled": true, "appointment": "%customer_full_name% has booked %service_name%", "event": "%customer_full_name% has booked %service_name%" },"metaData": { "enabled": true, "appointment": { "user":"%customer_full_name%", "email":"%customer_email%", "phone":"%customer_phone%" }, "event": { "user":"%customer_full_name%", "email":"%customer_email%", "phone":"%customer_phone%" } } }, I hope that helps. 1Mark Saunders repliedOctober 13, 2020 at 7:44pmWorks like a charm! Thanks!!![deleted] repliedOctober 15, 2020 at 6:49pmYou are welcome. Sign in to reply ...
I'm receiving payments via Stripe but only have an incomprehensible ID to map the payment to. How can I send over metadata to Stripe to match-up the customer with a specific payment?
Hi Mark,
Thank you for your message.
By default, no data is forwarded to Stripe, but you can change that.
You have to go through the database.
Please be careful when you update the table, because if you delete or add anything else, it can cause the plugin not to work properly.
When you access your database via PHPMyAdmin (or some other tool), access wp_options table:
It is possible that your prefix is not "wp_", but something else, so if that is the case, please look for "your_prefix_options" table.
When you access it, you can search through the column "option_name". Search for the term "amelia_settings":
The search will return only one row, and you need to edit it:
In "option_value" column, search for "stripe":
There, you can see "description" and "metaData", and it's currently set to "enabled":false
If you change that to "enabled":true, you can add notification placeholders for appointments and events. For example:
I hope that helps.
Works like a charm! Thanks!!!
You are welcome.