Support

Home Forums Event Espresso Premium Transaction Post API

Transaction Post API

Posted: July 5, 2018 at 3:56 am


gint

July 5, 2018 at 3:56 am

HI i am trying to simulate everything that happens when a registration is created normally using the registration checkout form on the frontend of a site.

I realize i have to post the transaction before the registration post.

The post is the following

https://test.nbedu.org/wp-json/ee/v4.8.36/transactions?TXN_ID=2&TXN_timestamp=2018-07-05 10:14:04&TXN_total=0&TXN_paid=0&STS_ID=TCM

But it comes as failed Transaction because there no Transaction items
Is there any way to pass the Transaction Items ?


Josh

  • Support Staff

July 5, 2018 at 3:17 pm

You can send line_items related to a specific transaction in a separate API request. The REST API discovery endpoint (https://test.nbedu.org/wp-json/ on your site) shows the allowed line items arguments, just after the line that starts with "/ee/v4.8.36/line_items": {

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Josh 2 weeks, 1 day ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!