21. The transaction_info method

The purpose of transaction info is to return the full details of a transaction. This can either be called after a reservation or after a purchase, for example to display information on a confirmation page.

21.1. Required inputs

A “user_passwd” and “transaction_id” are required. “describe_trolley” is optional and returns full trolley info. “describe_customer” is optional and returns full customer info.

21.1.1. Example input

<transaction_info>
    <user_id>demo</user_id>
    <user_passwd>MY_PASSWORD</user_passwd>
    <transaction_id>B9E4-A255-6190-5C24</transaction_id>
    <describe_trolley/>
    <describe_customer/>
</transaction_info>

21.2. Output data

Full “trolley” and “customer” data is returned if these inputs are provided (“customer” data is only returned for attempted purchases.) The “transaction_status” is also returned.

21.2.1. Example output

<transaction_info_result>
    <subdomain_user_is_bad>no</subdomain_user_is_bad>
    <customer>
        <addr_line_one>1 Butterwick</addr_line_one>
        <addr_line_one_latin>1 Butterwick</addr_line_one_latin>
        <addr_line_two/>
        <addr_line_two_latin/>
        <agent_ref/>
        <country>United Kingdom</country>
        <country_code>uk</country_code>
        <country_latin>United Kingdom</country_latin>
        <county>Hammersmith</county>
        <county_latin>Hammersmith</county_latin>
        <dp_supplier>no</dp_supplier>
        <dp_user>no</dp_user>
        <dp_world>no</dp_world>
        <email_addr>systems@ingresso.co.uk</email_addr>
        <first_name>FName</first_name>
        <first_name_latin>FName</first_name_latin>
        <home_phone>02031377499</home_phone>
        <initials/>
        <initials_latin/>
        <last_name>LName</last_name>
        <last_name_latin>FName</last_name_latin>
        <postcode>W68DL</postcode>
        <postcode_latin>W68DL</postcode_latin>
        <suffix/>
        <suffix_latin/>
        <title/>
        <title_latin/>
        <town>London</town>
        <town_latin>London</town_latin>
        <work_phone>02031377499</work_phone>
    </customer>
    <language_list>en-gb,en</language_list>
    <moneyflow_channel_code>ftbo</moneyflow_channel_code>
    <purchase_iso8601_date_and_time>2015-11-10T08:49:40Z</purchase_iso8601_date_and_time>
    <purchase_user>
        <backend_group>tsw_gbp_ingaff</backend_group>
        <content_group>profile_ftbo</content_group>
        <default_country_code>uk</default_country_code>
        <real_name>From The Box Office</real_name>
        <restrict_group>1</restrict_group>
        <sphinx_restrict_group>1</sphinx_restrict_group>
        <style>fixed-tabs</style>
        <sub_style>styled-aff-default</sub_style>
        <sub_sub_style>aquanota</sub_sub_style>
        <sub_user/>
        <user_id>ftbo</user_id>
    </purchase_user>
    <remote_site>www.fromtheboxoffice.com</remote_site>
    <reserve_iso8601_date_and_time>2015-11-10T08:46:27Z</reserve_iso8601_date_and_time>
    <reserve_user>
        <backend_group>tsw_gbp_ingaff</backend_group>
        <content_group>profile_ftbo</content_group>
        <default_country_code>uk</default_country_code>
        <real_name>From The Box Office</real_name>
        <restrict_group>1</restrict_group>
        <sphinx_restrict_group>1</sphinx_restrict_group>
        <style>fixed-tabs</style>
        <sub_style>styled-aff-default</sub_style>
        <sub_sub_style>aquanota</sub_sub_style>
        <sub_user/>
        <user_id>ftbo</user_id>
    </reserve_user>
    <transaction_status>purchased</transaction_status>
    <trolley>
        <bundle>
            <bundle_order_count>1</bundle_order_count>
            <bundle_source_code>nimax</bundle_source_code>
            <bundle_source_desc>Nimax Theatres Ltd</bundle_source_desc>
            <bundle_total_combined>94.3</bundle_total_combined>
            <bundle_total_cost>94.3</bundle_total_cost>
            <bundle_total_despatch>0.0</bundle_total_despatch>
            <bundle_total_seatprice>79.0</bundle_total_seatprice>
            <bundle_total_surcharge>15.3</bundle_total_surcharge>
            <currency>
                <currency_code>gbp</currency_code>
                <currency_factor>100</currency_factor>
                <currency_number>826</currency_number>
                <currency_places>2</currency_places>
                <currency_post_symbol/>
                <currency_pre_symbol>£</currency_pre_symbol>
            </currency>
            <order>
                <backend_purchase_reference>19087229</backend_purchase_reference>
                <despatch_desc>Standard Post</despatch_desc>
                <despatch_final_type>post</despatch_final_type>
                <despatch_method>
                    <despatch_code>M</despatch_code>
                    <despatch_cost>0.0</despatch_cost>
                    <despatch_desc>Standard Post</despatch_desc>
                    <despatch_subdata/>
                    <despatch_type>post</despatch_type>
                </despatch_method>
                <discount>
                    <combined>47.15</combined>
                    <discount_code>TSW/TAF/1</discount_code>
                    <discount_desc>Regular Price</discount_desc>
                    <discount_subdata>TSW</discount_subdata>
                    <no_of_seats>2</no_of_seats>
                    <no_of_tickets>2</no_of_tickets>
                    <seatprice>39.5</seatprice>
                    <seats>
                        <id>D9</id>
                        <id>D10</id>
                        <id_details>
                            <col_id>9</col_id>
                            <full_id>D9</full_id>
                            <is_restricted_view>no</is_restricted_view>
                            <row_id>D</row_id>
                            <seat_subdata>369/7</seat_subdata>
                            <seat_text>Reduced legroom</seat_text>
                            <seat_text_code>LGR</seat_text_code>
                            <separator/>
                        </id_details>
                        <id_details>
                            <col_id>10</col_id>
                            <full_id>D10</full_id>
                            <is_restricted_view>no</is_restricted_view>
                            <row_id>D</row_id>
                            <seat_subdata>369/8</seat_subdata>
                            <seat_text>Reduced legroom</seat_text>
                            <seat_text_code>LGR</seat_text_code>
                            <separator/>
                        </id_details>
                    </seats>
                    <surcharge>7.65</surcharge>
                </discount>
                <event>
                    <area_code>NMX</area_code>
                    <area_desc>Nimax Theatres</area_desc>
                    <city_code>london-uk</city_code>
                    <city_desc>London</city_desc>
                    <class>
                        <class_code>theatre</class_code>
                        <class_desc>Theatre</class_desc>
                        <is_main_class>yes</is_main_class>
                        <search_key>theatre/</search_key>
                        <subclass>
                            <is_main_subclass>yes</is_main_subclass>
                            <search_key>theatre/kids</search_key>
                            <subclass_code>kids</subclass_code>
                            <subclass_desc>Family</subclass_desc>
                        </subclass>
                    </class>
                    <country_code>uk</country_code>
                    <country_desc>United Kingdom</country_desc>
                    <date_range_end>
                        <date_desc>Sun, 31st January 2016</date_desc>
                        <date_utc_offset>0</date_utc_offset>
                        <date_utc_seconds>1454266800</date_utc_seconds>
                        <date_yyyymmdd>20160131</date_yyyymmdd>
                    </date_range_end>
                    <date_range_start>
                        <date_desc>Fri, 4th December 2015</date_desc>
                        <date_utc_offset>0</date_utc_offset>
                        <date_utc_seconds>1449257400</date_utc_seconds>
                        <date_yyyymmdd>20151204</date_yyyymmdd>
                    </date_range_start>
                    <event_code>2717</event_code>
                    <event_desc>Peter Pan Goes Wrong</event_desc>
                    <event_id>2T2U</event_id>
                    <event_lingo>theatre</event_lingo>
                    <event_status>live</event_status>
                    <event_subdata/>
                    <geo_data>
                        <latitude>51.511758</latitude>
                        <longitude>-0.133651</longitude>
                    </geo_data>
                    <is_seated>yes</is_seated>
                    <need_departure_date>no</need_departure_date>
                    <need_duration>no</need_duration>
                    <need_performance>yes</need_performance>
                    <postcode>W1D 7EZ</postcode>
                    <search_distance_km>0.0</search_distance_km>
                    <show_perf_time>yes</show_perf_time>
                    <source_code>nimax</source_code>
                    <source_desc>Nimax Theatres Ltd</source_desc>
                    <venue_code>PLO/T</venue_code>
                    <venue_desc>Apollo Theatre</venue_desc>
                </event>
                <event_desc>Peter Pan Goes Wrong</event_desc>
                <item_number>1</item_number>
                <performance>
                    <date_desc>Sat, 23rd January 2016</date_desc>
                    <date_utc_offset>0</date_utc_offset>
                    <date_utc_seconds>1453559400</date_utc_seconds>
                    <date_yyyymmdd>20160123</date_yyyymmdd>
                    <has_pool_seats>yes</has_pool_seats>
                    <is_limited>no</is_limited>
                    <perf_id>2T2U-1P</perf_id>
                    <perf_is_visible>yes</perf_is_visible>
                    <perf_subdata>3262</perf_subdata>
                    <perf_type_code>205992</perf_type_code>
                    <time_desc>2.30 PM</time_desc>
                    <time_hhmmss>143000</time_hhmmss>
                </performance>
                <price_band_code>B</price_band_code>
                <price_band_desc/>
                <price_band_subdata/>
                <requested_seats>
                    <id_details>
                        <col_id>9</col_id>
                        <full_id>D9</full_id>
                        <is_restricted_view>no</is_restricted_view>
                        <row_id>D</row_id>
                        <seat_subdata>369/7</seat_subdata>
                        <seat_text_code>LGR</seat_text_code>
                        <separator/>
                    </id_details>
                    <id_details>
                        <col_id>10</col_id>
                        <full_id>D10</full_id>
                        <is_restricted_view>no</is_restricted_view>
                        <row_id>D</row_id>
                        <seat_subdata>369/8</seat_subdata>
                        <seat_text_code>LGR</seat_text_code>
                        <separator/>
                    </id_details>
                </requested_seats>
                <seat_request_status>got_all</seat_request_status>
                <ticket_type_code>UC</ticket_type_code>
                <ticket_type_desc>Grand Circle</ticket_type_desc>
                <total_combined>94.3</total_combined>
                <total_no_of_seats>2</total_no_of_seats>
                <total_no_of_tickets>2</total_no_of_tickets>
                <total_seatprice>79.0</total_seatprice>
                <total_surcharge>15.3</total_surcharge>
                <user_commission>
                    <amount_excluding_vat>0.0</amount_excluding_vat>
                    <amount_including_vat>0.0</amount_including_vat>
                    <commission_currency>
                        <currency_code>gbp</currency_code>
                        <currency_factor>100</currency_factor>
                        <currency_number>826</currency_number>
                        <currency_places>2</currency_places>
                        <currency_post_symbol/>
                        <currency_pre_symbol>£</currency_pre_symbol>
                    </commission_currency>
                    <currency>gbp</currency>
                </user_commission>
                <venue_desc>Apollo Theatre</venue_desc>
            </order>
            <purchase_result>
                <is_semi_credit>no</is_semi_credit>
                <success>yes</success>
            </purchase_result>
            <source_code>nimax</source_code>
            <source_desc>Nimax Theatres Ltd</source_desc>
        </bundle>
        <purchase_result>
            <is_partial>no</is_partial>
            <success>yes</success>
        </purchase_result>
        <random_index>denlqronofojmmim7pt0</random_index>
        <transaction_id>B9E4-A255-6190-5C24</transaction_id>
        <trolley_bundle_count>1</trolley_bundle_count>
        <trolley_order_count>1</trolley_order_count>
    </trolley>
</transaction_info_result>