#talesofatlantis

1 messages ยท Page 1 of 1 (latest)

oak oreBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

vale ore
#

Let's chat here

#

Can you give me a quick summary?

dusky stag
#

Sure!

I'm trying to send custom metadata from WordPress to the payment description within our Stripe account. This is in order to display the event name in the description for us to be able to sort through the payments later on. I'm really struggling with this. The functions I've written before don't seem to work out, and neither of the two plugin support teams can help me out.

The current setup is the following:

Creation of Events within The Events Calendar (https://docs.theeventscalendar.com/)
Creation of tickets within Events Tickets Plus
Automated order creation within WooCommerce for each ticket
Payment processing handled through Stripe WooCommerce plugin

Right now, the payment description shows the name of the order ID. I was told by Stripe support I would need to send additional metadata to Stripe.

#

Response from Toby

toby โ€” Today at 3:31 PM
Hi there ๐Ÿ‘‹ we won't be able to provide assistance regarding the WooCommerce or Events Calendar parts of this, if you want those integrations to provide Stripe with more metadata then you'll need to work with the teams that own those integrations.

Are you trying to directly interact with the Stripe API to add metadata to objects? If so, where are you running into troubles with that?

#

Me, responding now

I'm not sure what is meant by "teams". Does this mean we need to reach out to WooCommerce directly?

I tried to write a function for it. I read up that this should be sufficient but it wasn't, it deleted the payment description altogether ... Pepe_exit

#

I think my struggle is that I don't fully know what to do altogether. Striep support said that it should be possible to add custom metadata, and I thought I can solve this through writing a custom function that fetches the event tile, then sends it with the order to Stripe and appears in the description.

Is this the wrong approach? Would you be able to point me into the right direction here? I'm still starting out with programming so I might be on the wrong track here altogether.

vale ore
#

Since you have a woocommerce integration, most things are controlled by woocommerce plugin/platform. From our end, we won't know anything about how woocommerce uses our APIs etc.

First step here would be to talk to woocommerce about this to see if they can help with this (confirm if they support this feature)

dusky stag
#

Perfect, will do so.

#

Thank you for your help!

#

If they DO support it, do you have any documentation available that might help our developers to integrate it?

#

Or would I need to check that with them?