Fetching data from the transaction object

Modified on Tue, 12 Aug at 6:25 PM

Transaction data (transaction object)

You can always check the exact fields (data) for a specific transaction by opening the transaction (one way is through the transaction list). Once in a transaction, scroll down and expand the transaction object:

Please note that transactions can have different fields under "metadata" depending on your platform (WooCommerce, Shopify, API...).

Example - fetching the transaction ID

transaction.id will fetch the data in the id field of transactions.

Example - fetching the customer's browser

transaction.client_info.browser will fetch the browser used by the customer when opening the payment window (transaction):

Conclusion

Data from different fields can be fetched from the transaction object: 1) figure out what data you want, 2) find the corresponding field in the transaction object and 3) refer to that field when setting up a report or receipt.

Please contact us at support@mondido.com if you need further assistance. We'll be happy to help!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article