Import testing

Output will appear below

Writing XML For Order PTS69200
The billing address name is Rhoderunners FC
The billing address postcode is SE9 6QD
Got this far...No invoice address code foundMy User ID Is 42723 My Prima Customer ID is 0000061754 My address type is Invoice
Our Address Code
Array
(
    [0] => stdClass Object
        (
            [address_id] => 2
        )

)

The Address Code Is 2

The Address Code Is 2

The Address Code Is 2
The address code is now 2Array ( [0] => 0 ) The components are
Center Chest - __Center Chest__ - Single Colour
The components are now
Center Chest - __Center Chest__ Heat Transfer - Single Colour
The components are
Crest - __Crest__ Embroidered
The components are now
Crest - __Crest__ Embroidered
The components are
Player initials - __Player initials__ Heat Transfer
The components are now
Player initials - __Player initials__ Heat Transfer
The components are
Center Chest - __Center Chest__ - Single Colour
The components are now
Center Chest - __Center Chest__ Heat Transfer - Single Colour
The components are
Crest - __Crest__ Embroidered
The components are now
Crest - __Crest__ Embroidered
The components are
Player initials - __Player initials__ Heat Transfer
The components are now
Player initials - __Player initials__ Heat Transfer
The components are
Crest - __Crest__ Embroidered
The components are now
Crest - __Crest__ Embroidered
The components are
Center Chest - __Center Chest__ - Single Colour
The components are now
Center Chest - __Center Chest__ Heat Transfer - Single Colour
The components are
Player initials - __Player initials__ Heat Transfer
The components are now
Player initials - __Player initials__ Heat Transfer
We will final write XML for PTS69200001current prodcocde is PTS69200001
Coupons
Array
(
    [300081] => WC_Order_Item_Coupon Object
        (
            [extra_data:protected] => Array
                (
                    [code] => 
                    [discount] => 0
                    [discount_tax] => 0
                )

            [data:protected] => Array
                (
                    [order_id] => 372958
                    [name] => 
                    [code] => sponsor_5e5bba9cadea7_135.41666665
                    [discount] => 1.14
                    [discount_tax] => 0.22
                )

            [cache_group:protected] => order-items
            [meta_type:protected] => order_item
            [object_type:protected] => order_item
            [id:protected] => 300081
            [changes:protected] => Array
                (
                )

            [object_read:protected] => 1
            [default_data:protected] => Array
                (
                    [order_id] => 0
                    [name] => 
                    [code] => 
                    [discount] => 0
                    [discount_tax] => 0
                )

            [data_store:protected] => WC_Data_Store Object
                (
                    [instance:WC_Data_Store:private] => WC_Order_Item_Coupon_Data_Store Object
                        (
                            [internal_meta_keys:protected] => Array
                                (
                                    [0] => discount_amount
                                    [1] => discount_amount_tax
                                )

                            [meta_type:protected] => order_item
                            [object_id_field_for_meta:protected] => order_item_id
                            [must_exist_meta_keys:protected] => Array
                                (
                                )

                        )

                    [stores:WC_Data_Store:private] => Array
                        (
                            [coupon] => WC_Coupon_Data_Store_CPT
                            [customer] => WC_Customer_Data_Store
                            [customer-download] => WC_Customer_Download_Data_Store
                            [customer-download-log] => WC_Customer_Download_Log_Data_Store
                            [customer-session] => WC_Customer_Data_Store_Session
                            [order] => WC_Order_Data_Store_CPT
                            [order-refund] => WC_Order_Refund_Data_Store_CPT
                            [order-item] => WC_Order_Item_Data_Store
                            [order-item-coupon] => WC_Order_Item_Coupon_Data_Store
                            [order-item-fee] => WC_Order_Item_Fee_Data_Store
                            [order-item-product] => WC_Order_Item_Product_Data_Store
                            [order-item-shipping] => WC_Order_Item_Shipping_Data_Store
                            [order-item-tax] => WC_Order_Item_Tax_Data_Store
                            [payment-token] => WC_Payment_Token_Data_Store
                            [product] => WC_Product_Data_Store_CPT
                            [product-grouped] => WC_Product_Grouped_Data_Store_CPT
                            [product-variable] => WC_Product_Variable_Data_Store_CPT
                            [product-variation] => WC_Product_Variation_Data_Store_CPT
                            [shipping-zone] => WC_Shipping_Zone_Data_Store
                            [webhook] => WC_Webhook_Data_Store
                        )

                    [current_class_name:WC_Data_Store:private] => WC_Order_Item_Coupon_Data_Store
                    [object_type:WC_Data_Store:private] => order-item-coupon
                )

            [meta_data:protected] => Array
                (
                    [0] => WC_Meta_Data Object
                        (
                            [current_data:protected] => Array
                                (
                                    [id] => 5082915
                                    [key] => coupon_data
                                    [value] => Array
                                        (
                                            [id] => 372956
                                            [code] => sponsor_5e5bba9cadea7_135.41666665
                                            [amount] => 1.3541666665
                                            [date_created] => WC_DateTime Object
                                                (
                                                    [utc_offset:protected] => 0
                                                    [date] => 2020-03-01 13:37:32.000000
                                                    [timezone_type] => 3
                                                    [timezone] => Europe/London
                                                )

                                            [date_modified] => WC_DateTime Object
                                                (
                                                    [utc_offset:protected] => 0
                                                    [date] => 2020-03-01 13:37:32.000000
                                                    [timezone_type] => 3
                                                    [timezone] => Europe/London
                                                )

                                            [date_expires] => WC_DateTime Object
                                                (
                                                    [utc_offset:protected] => 0
                                                    [date] => 2020-03-02 13:37:32.000000
                                                    [timezone_type] => 3
                                                    [timezone] => Europe/London
                                                )

                                            [discount_type] => fixed_cart
                                            [description] => 
                                            [usage_count] => 0
                                            [individual_use] => 
                                            [product_ids] => Array
                                                (
                                                )

                                            [excluded_product_ids] => Array
                                                (
                                                )

                                            [usage_limit] => 1
                                            [usage_limit_per_user] => 0
                                            [limit_usage_to_x_items] => 
                                            [free_shipping] => 
                                            [product_categories] => Array
                                                (
                                                )

                                            [excluded_product_categories] => Array
                                                (
                                                )

                                            [exclude_sale_items] => 
                                            [minimum_amount] => 
                                            [maximum_amount] => 
                                            [email_restrictions] => Array
                                                (
                                                )

                                            [virtual] => 
                                            [meta_data] => Array
                                                (
                                                    [0] => WC_Meta_Data Object
                                                        (
                                                            [current_data:protected] => Array
                                                                (
                                                                    [id] => 8607517
                                                                    [key] => apply_before_tax
                                                                    [value] => no
                                                                )

                                                            [data:protected] => Array
                                                                (
                                                                    [id] => 8607517
                                                                    [key] => apply_before_tax
                                                                    [value] => no
                                                                )

                                                        )

                                                )

                                        )

                                )

                            [data:protected] => Array
                                (
                                    [id] => 5082915
                                    [key] => coupon_data
                                    [value] => Array
                                        (
                                            [id] => 372956
                                            [code] => sponsor_5e5bba9cadea7_135.41666665
                                            [amount] => 1.3541666665
                                            [date_created] => WC_DateTime Object
                                                (
                                                    [utc_offset:protected] => 0
                                                    [date] => 2020-03-01 13:37:32.000000
                                                    [timezone_type] => 3
                                                    [timezone] => Europe/London
                                                )

                                            [date_modified] => WC_DateTime Object
                                                (
                                                    [utc_offset:protected] => 0
                                                    [date] => 2020-03-01 13:37:32.000000
                                                    [timezone_type] => 3
                                                    [timezone] => Europe/London
                                                )

                                            [date_expires] => WC_DateTime Object
                                                (
                                                    [utc_offset:protected] => 0
                                                    [date] => 2020-03-02 13:37:32.000000
                                                    [timezone_type] => 3
                                                    [timezone] => Europe/London
                                                )

                                            [discount_type] => fixed_cart
                                            [description] => 
                                            [usage_count] => 0
                                            [individual_use] => 
                                            [product_ids] => Array
                                                (
                                                )

                                            [excluded_product_ids] => Array
                                                (
                                                )

                                            [usage_limit] => 1
                                            [usage_limit_per_user] => 0
                                            [limit_usage_to_x_items] => 
                                            [free_shipping] => 
                                            [product_categories] => Array
                                                (
                                                )

                                            [excluded_product_categories] => Array
                                                (
                                                )

                                            [exclude_sale_items] => 
                                            [minimum_amount] => 
                                            [maximum_amount] => 
                                            [email_restrictions] => Array
                                                (
                                                )

                                            [virtual] => 
                                            [meta_data] => Array
                                                (
                                                    [0] => WC_Meta_Data Object
                                                        (
                                                            [current_data:protected] => Array
                                                                (
                                                                    [id] => 8607517
                                                                    [key] => apply_before_tax
                                                                    [value] => no
                                                                )

                                                            [data:protected] => Array
                                                                (
                                                                    [id] => 8607517
                                                                    [key] => apply_before_tax
                                                                    [value] => no
                                                                )

                                                        )

                                                )

                                        )

                                )

                        )

                )

        )

    [300082] => WC_Order_Item_Coupon Object
        (
            [extra_data:protected] => Array
                (
                    [code] => 
                    [discount] => 0
                    [discount_tax] => 0
                )

            [data:protected] => Array
                (
                    [order_id] => 372958
                    [name] => 
                    [code] => sponsor_5e5bba9ccd0d3_135.41666665
                    [discount] => 1.14
                    [discount_tax] => 0.22
                )

            [cache_group:protected] => order-items
            [meta_type:protected] => order_item
            [object_type:protected] => order_item
            [id:protected] => 300082
            [changes:protected] => Array
                (
                )

            [object_read:protected] => 1
            [default_data:protected] => Array
                (
                    [order_id] => 0
                    [name] => 
                    [code] => 
                    [discount] => 0
                    [discount_tax] => 0
                )

            [data_store:protected] => WC_Data_Store Object
                (
                    [instance:WC_Data_Store:private] => WC_Order_Item_Coupon_Data_Store Object
                        (
                            [internal_meta_keys:protected] => Array
                                (
                                    [0] => discount_amount
                                    [1] => discount_amount_tax
                                )

                            [meta_type:protected] => order_item
                            [object_id_field_for_meta:protected] => order_item_id
                            [must_exist_meta_keys:protected] => Array
                                (
                                )

                        )

                    [stores:WC_Data_Store:private] => Array
                        (
                            [coupon] => WC_Coupon_Data_Store_CPT
                            [customer] => WC_Customer_Data_Store
                            [customer-download] => WC_Customer_Download_Data_Store
                            [customer-download-log] => WC_Customer_Download_Log_Data_Store
                            [customer-session] => WC_Customer_Data_Store_Session
                            [order] => WC_Order_Data_Store_CPT
                            [order-refund] => WC_Order_Refund_Data_Store_CPT
                            [order-item] => WC_Order_Item_Data_Store
                            [order-item-coupon] => WC_Order_Item_Coupon_Data_Store
                            [order-item-fee] => WC_Order_Item_Fee_Data_Store
                            [order-item-product] => WC_Order_Item_Product_Data_Store
                            [order-item-shipping] => WC_Order_Item_Shipping_Data_Store
                            [order-item-tax] => WC_Order_Item_Tax_Data_Store
                            [payment-token] => WC_Payment_Token_Data_Store
                            [product] => WC_Product_Data_Store_CPT
                            [product-grouped] => WC_Product_Grouped_Data_Store_CPT
                            [product-variable] => WC_Product_Variable_Data_Store_CPT
                            [product-variation] => WC_Product_Variation_Data_Store_CPT
                            [shipping-zone] => WC_Shipping_Zone_Data_Store
                            [webhook] => WC_Webhook_Data_Store
                        )

                    [current_class_name:WC_Data_Store:private] => WC_Order_Item_Coupon_Data_Store
                    [object_type:WC_Data_Store:private] => order-item-coupon
                )

            [meta_data:protected] => Array
                (
                    [0] => WC_Meta_Data Object
                        (
                            [current_data:protected] => Array
                                (
                                    [id] => 5082918
                                    [key] => coupon_data
                                    [value] => Array
                                        (
                                            [id] => 372957
                                            [code] => sponsor_5e5bba9ccd0d3_135.41666665
                                            [amount] => 1.3541666665
                                            [date_created] => WC_DateTime Object
                                                (
                                                    [utc_offset:protected] => 0
                                                    [date] => 2020-03-01 13:37:32.000000
                                                    [timezone_type] => 3
                                                    [timezone] => Europe/London
                                                )

                                            [date_modified] => WC_DateTime Object
                                                (
                                                    [utc_offset:protected] => 0
                                                    [date] => 2020-03-01 13:37:32.000000
                                                    [timezone_type] => 3
                                                    [timezone] => Europe/London
                                                )

                                            [date_expires] => WC_DateTime Object
                                                (
                                                    [utc_offset:protected] => 0
                                                    [date] => 2020-03-02 13:37:32.000000
                                                    [timezone_type] => 3
                                                    [timezone] => Europe/London
                                                )

                                            [discount_type] => fixed_cart
                                            [description] => 
                                            [usage_count] => 0
                                            [individual_use] => 
                                            [product_ids] => Array
                                                (
                                                )

                                            [excluded_product_ids] => Array
                                                (
                                                )

                                            [usage_limit] => 1
                                            [usage_limit_per_user] => 0
                                            [limit_usage_to_x_items] => 
                                            [free_shipping] => 
                                            [product_categories] => Array
                                                (
                                                )

                                            [excluded_product_categories] => Array
                                                (
                                                )

                                            [exclude_sale_items] => 
                                            [minimum_amount] => 
                                            [maximum_amount] => 
                                            [email_restrictions] => Array
                                                (
                                                )

                                            [virtual] => 
                                            [meta_data] => Array
                                                (
                                                    [0] => WC_Meta_Data Object
                                                        (
                                                            [current_data:protected] => Array
                                                                (
                                                                    [id] => 8607527
                                                                    [key] => apply_before_tax
                                                                    [value] => no
                                                                )

                                                            [data:protected] => Array
                                                                (
                                                                    [id] => 8607527
                                                                    [key] => apply_before_tax
                                                                    [value] => no
                                                                )

                                                        )

                                                )

                                        )

                                )

                            [data:protected] => Array
                                (
                                    [id] => 5082918
                                    [key] => coupon_data
                                    [value] => Array
                                        (
                                            [id] => 372957
                                            [code] => sponsor_5e5bba9ccd0d3_135.41666665
                                            [amount] => 1.3541666665
                                            [date_created] => WC_DateTime Object
                                                (
                                                    [utc_offset:protected] => 0
                                                    [date] => 2020-03-01 13:37:32.000000
                                                    [timezone_type] => 3
                                                    [timezone] => Europe/London
                                                )

                                            [date_modified] => WC_DateTime Object
                                                (
                                                    [utc_offset:protected] => 0
                                                    [date] => 2020-03-01 13:37:32.000000
                                                    [timezone_type] => 3
                                                    [timezone] => Europe/London
                                                )

                                            [date_expires] => WC_DateTime Object
                                                (
                                                    [utc_offset:protected] => 0
                                                    [date] => 2020-03-02 13:37:32.000000
                                                    [timezone_type] => 3
                                                    [timezone] => Europe/London
                                                )

                                            [discount_type] => fixed_cart
                                            [description] => 
                                            [usage_count] => 0
                                            [individual_use] => 
                                            [product_ids] => Array
                                                (
                                                )

                                            [excluded_product_ids] => Array
                                                (
                                                )

                                            [usage_limit] => 1
                                            [usage_limit_per_user] => 0
                                            [limit_usage_to_x_items] => 
                                            [free_shipping] => 
                                            [product_categories] => Array
                                                (
                                                )

                                            [excluded_product_categories] => Array
                                                (
                                                )

                                            [exclude_sale_items] => 
                                            [minimum_amount] => 
                                            [maximum_amount] => 
                                            [email_restrictions] => Array
                                                (
                                                )

                                            [virtual] => 
                                            [meta_data] => Array
                                                (
                                                    [0] => WC_Meta_Data Object
                                                        (
                                                            [current_data:protected] => Array
                                                                (
                                                                    [id] => 8607527
                                                                    [key] => apply_before_tax
                                                                    [value] => no
                                                                )

                                                            [data:protected] => Array
                                                                (
                                                                    [id] => 8607527
                                                                    [key] => apply_before_tax
                                                                    [value] => no
                                                                )

                                                        )

                                                )

                                        )

                                )

                        )

                )

        )

)

Caught exception: An error was detected while executing the Web Service request. (10893)