Array ( [payment] => Array ( [payment_id] => 10117172432757801 [assigned] => YES [api_type] => 2 [payment_type] => [action] => background [creation_date] => 2024-06-01 15:01:15 [currency] => BHD [decimal_points] => 3 [unit_per_USD] => 0.3770000041 [unit_per_BHD] => 1 [gateway_currency_rate] => [unit_quantity] => [unit_price] => [unit_discount] => [amount] => 227.5 [unique_id] => 129236 [company_id] => 2649 [payment_gateways_id] => 144115 [description] => Order: #28171724327515, item: تسجيل مبكر - دورة التعلم عن بُعد (يوليو 2024) | برنامج أساسيات اللغة العربية, سعر التوصيل: 7.5 BHD [note] => [redirect_to_gateway] => 144115 [gaatee_invoice] => [callback_url] => https://www.skillsbh.com/cart_payment_callback.php [show_callback] => 0 [field1] => 28171724327515 [field2] => 553 [field3] => 56343448655030 [field4] => تسجيل مبكر - دورة التعلم عن بُعد (يوليو 2024) | برنامج أساسيات اللغة العربية [field5] => [field_json] => [extra_field] => [ref_code] => [required_fields] => email,name,mobile,address [identity_number] => [name] => Sadan alshammasi [email] => alsunni.z@gmail.com [mobile] => 966558559966 [gender] => F [country] => SA [city] => [address] => [send_address] => YES [email_send] => 3 [sms_send] => 3 [locale] => ar [response_code] => 00 [response_date] => 2024-06-01 15:02:41 [response_description] => 00 - Approved [gateway_user_id] => 144115 [invoice_id] => 005585 [transaction_id] => 1827774 [InvoiceRecurring_id] => [processed] => 0 [api_payment_save_client] => no [country_include] => all [country_exclude] => all [original_currency_code] => BHD [original_currency_rate] => 1 [original_currency_rate_auto] => [original_tax_rate] => 0 [original_tax_amount] => 0 [customer_tax_tin] => [original_amount] => 227.5 [original_amount_total] => 227.5 [tax_amount] => 0 [tax_rate] => 0 [currency_code] => BHD [amount_total] => 227.5 [items_json] => [token_payment] => 0 [auto_deduct] => 0 [user_code] => [card_save] => [card_list] => 0 [card_security_code] => [template] => tax [status] => completed [validated] => YES [num_get_payment] => 1 [num_update_payment] => 0 [gateway_show] => [ref_invoice_id] => [ref_quotation_id] => [ref_order_id] => [ref_reference_id] => [payment_gateway_reference_1] => [payment_gateway_reference_2] => [payment_gateway_reference_3] => [payment_gateway_reference_4] => [payment_gateway_reference_5] => [recurring_agreement_id] => [recurring_CustomerCard_code] => [policies_json] => [payment_currency_show_code] => [payment_currency_conversion_rate] => [payment_currency_conversion_auto] => [payment_unit_price] => [payment_unit_quantity] => [payment_unit_discount] => [auto_reconciled] => 0 [auto_callback] => 0 [debug_backtrace] => [company_customer_id] => [response] => Array ( [currency] => BHD [total_paid] => 227.5 [amount_vat_exc] => 227.5 [tax_rate] => 0 [tax_amount] => 0 [conversion_rate] => 1 [status] => completed ) [account] => Array ( [currency] => BHD [total_paid] => 227.5 [amount_vat_exc] => 227.5 [tax_rate] => 0 [tax_amount] => 0 [conversion_rate] => 1 [status] => completed ) [data] => Array ( [amount] => 227.5 [tax_rate] => 0 [tax_amount] => 0 [original_amount] => 227.5 [extra_field] => [field1] => 28171724327515 [field2] => 553 [field3] => 56343448655030 [field4] => تسجيل مبكر - دورة التعلم عن بُعد (يوليو 2024) | برنامج أساسيات اللغة العربية [field5] => [gateway_user_id] => 144115 [invoice_id] => 005585 [note] => [payment_id] => 10117172432757801 [status] => completed [transaction_id] => 1827774 [unique_id] => 129236 [validated] => YES ) [transactions] => Array ( [id] => 1827774 [date] => 2024-06-01 15:02:41 [acquirer_transaction_id] => R5J3MI [authorization_code] => 004306 [rrn] => 415312010685 [merchant_id] => 10663950 [currency] => BHD [invoice_id] => 1989575 [paid_amount] => 227.5000 [tax_rate] => 0.000000 [tax_amount] => 0.000000 [gateway_fees_rate] => 2.0000 [gateway_fees_amount] => 4.5500 [gateway_fees_fixed] => 0.0000 [gateway_fees_fixed_amount] => 0.0000 [gateway_fees_total] => 4.5500 [gateway_fees_tax_rate] => 10.0000 [gateway_fees_tax_amount] => 0.4550 [gateway_fees_total_amount] => 5.0050 [gatee_fees_rate] => 0.0000 [gatee_fees_rate_amount] => 0.0000 [gatee_fees_fixed] => 0.0000 [gatee_fees_fixed_amount] => 0.0000 [gatee_fees_total] => 0.0000 [gatee_fees_tax_rate] => 10.0000 [gatee_fees_tax_amount] => 0.0000 [gatee_fees_total_amount] => 0.0000 [card_brand] => MASTERCARD [card_type] => DEBIT [card_last_four] => 1442 ) [invoices] => Array ( [invoice_number] => 005585 [paid_invoice_number] => 005515 [total_amount] => 227.500 [subtotal] => 227.500 [tax_amount] => 0.000 [invoice_status] => Paid [payment_id] => 10117172432757801 [paid_date] => 2024-06-01 15:02:41 [customer_name] => Sadan alshammasi [customer_email] => alsunni.z@gmail.com [customer_mobile] => 966558559966 [customer_gender] => M [customer_country] => SA [customer_address] => [status] => [customer_city] => [code] => 9nJ3AHPbHeFCLio ) [payment] => Array ( [payment_id] => 10117172432757801 [customer_ip] => 23.227.174.18 [assigned] => YES [api_type] => 2 [payment_type] => [action] => background [creation_date] => 2024-06-01 15:01:15 [currency] => BHD [decimal_points] => 3 [unit_per_USD] => 0.3770000041 [unit_per_BHD] => 1 [gateway_currency_rate] => [unit_quantity] => [unit_price] => [unit_discount] => [amount] => 227.5 [unique_id] => 129236 [company_id] => 2649 [payment_gateways_id] => 144115 [description] => Order: #28171724327515, item: تسجيل مبكر - دورة التعلم عن بُعد (يوليو 2024) | برنامج أساسيات اللغة العربية, سعر التوصيل: 7.5 BHD [note] => [redirect_to_gateway] => 144115 [gaatee_invoice] => [callback_url] => https://www.skillsbh.com/cart_payment_callback.php [show_callback] => 0 [field1] => 28171724327515 [field2] => 553 [field3] => 56343448655030 [field4] => تسجيل مبكر - دورة التعلم عن بُعد (يوليو 2024) | برنامج أساسيات اللغة العربية [field5] => [field_json] => [extra_field] => [ref_code] => [required_fields] => email,name,mobile,address [identity_number] => [name] => Sadan alshammasi [email] => alsunni.z@gmail.com [mobile] => 966558559966 [gender] => F [country] => SA [city] => [address] => [send_address] => YES [email_send] => 3 [sms_send] => 3 [locale] => ar [calculated_hash] => ea92a86abeef8daf184a08b83c7137c1 [response_code] => 00 [response_date] => 2024-06-01 15:02:41 [response_description] => 00 - Approved [gateway_user_id] => 144115 [invoice_id] => 005585 [transaction_id] => 1827774 [InvoiceRecurring_id] => [processed] => 0 [api_payment_save_client] => no [country_include] => all [country_exclude] => all [original_currency_code] => BHD [original_currency_rate] => 1 [original_currency_rate_auto] => [original_tax_rate] => 0 [original_tax_amount] => 0 [customer_tax_tin] => [original_amount] => 227.5 [original_amount_total] => 227.5 [tax_amount] => 0 [tax_rate] => 0 [currency_code] => BHD [amount_total] => 227.5 [items_json] => [token_payment] => 0 [auto_deduct] => 0 [user_code] => [card_save] => [card_list] => 0 [card_security_code] => [template] => tax [status] => completed [validated] => YES [num_get_payment] => 1 [num_update_payment] => 0 [gateway_show] => [ref_invoice_id] => [ref_quotation_id] => [ref_order_id] => [ref_reference_id] => [payment_gateway_reference_1] => [payment_gateway_reference_2] => [payment_gateway_reference_3] => [payment_gateway_reference_4] => [payment_gateway_reference_5] => [recurring_agreement_id] => [recurring_CustomerCard_code] => [policies_json] => [payment_currency_show_code] => [payment_currency_conversion_rate] => [payment_currency_conversion_auto] => [payment_unit_price] => [payment_unit_quantity] => [payment_unit_discount] => [auto_reconciled] => 0 [auto_callback] => 0 [debug_backtrace] => [company_customer_id] => ) [gateway] => Array ( [gateway_id] => 144115 [gateway_code] => mpgs_3ds2 [gateway_name_en] => Credit Cards (VISA - MASTERCARD - JCB) [gateway_name_ar] => البطاقات الإئتمانية (فيزا - ماستركارد) [currency] => BHD [status] => active [activation_date] => [customer_id] => [gateway_fees_rate] => 2.0000 [gateway_fees_fixed] => 0.0000 [gateway_fees_tax_rate] => 10.0000 [gatee_fees_rate] => 0.0000 [gatee_fees_fixed] => 0.0000 [gatee_fees_tax_rate] => 10.0000 [gateway_rate_maximum_amount] => 0.000000 [gateway_rate_minimum_amount] => 0.000000 ) ) [customer] => Array ( [contact_id] => 4862716000000851001 [contact_name] => Sadan alshammasi [company_name] => [first_name] => [last_name] => [designation] => [department] => [website] => [is_bcy_only_contact] => 1 [is_credit_limit_migration_completed] => 1 [language_code] => [language_code_formatted] => [contact_salutation] => [email] => [phone] => [mobile] => [invited_by] => [portal_status] => disabled [is_client_review_asked] => [has_transaction] => [contact_type] => customer [customer_sub_type] => business [owner_id] => [owner_name] => [source] => api [documents] => Array ( ) [twitter] => [facebook] => [is_crm_customer] => [is_linked_with_zohocrm] => [primary_contact_id] => [zcrm_account_id] => [zcrm_contact_id] => [crm_owner_id] => [payment_terms] => 0 [payment_terms_label] => Due On Receipt [credit_limit_exceeded_amount] => 0 [currency_id] => 4862716000000084112 [currency_code] => BHD [currency_symbol] => BHD [price_precision] => 3 [exchange_rate] => [can_show_customer_ob] => 1 [can_show_vendor_ob] => 1 [opening_balance_amount] => 0 [opening_balance_amount_bcy] => [outstanding_ob_receivable_amount] => 0 [outstanding_ob_payable_amount] => 0 [outstanding_receivable_amount] => 0 [outstanding_receivable_amount_bcy] => 0 [outstanding_payable_amount] => 0 [outstanding_payable_amount_bcy] => 0 [unused_credits_receivable_amount] => 0 [unused_credits_receivable_amount_bcy] => 0 [unused_credits_payable_amount] => 0 [unused_credits_payable_amount_bcy] => 0 [unused_retainer_payments] => 0 [status] => active [payment_reminder_enabled] => 1 [is_sms_enabled] => 1 [is_consent_agreed] => [consent_date] => [is_client_review_settings_enabled] => [custom_fields] => Array ( ) [custom_field_hash] => Array ( ) [is_taxable] => 1 [country_code] => BH [vat_reg_no] => [gcc_vat_treatment] => vat_not_registered [tax_treatment] => vat_not_registered [tax_reg_no] => [contact_category] => vat_not_registered [sales_channel] => direct_sales [ach_supported] => [portal_receipt_count] => 0 [opening_balances] => Array ( ) [allow_parent_for_payment_and_view] => [entity_address_id] => 4862716000000851008 [billing_address] => Array ( [address_id] => 4862716000000851003 [attention] => [address] => [street2] => [city] => [state_code] => [state] => [zip] => [country] => [country_code] => [phone] => +966558559966 [fax] => ) [shipping_address] => Array ( [address_id] => 4862716000000851005 [attention] => [address] => [street2] => [city] => [state_code] => [state] => [zip] => [country] => [country_code] => [phone] => [fax] => [latitude] => [longitude] => ) [contact_persons] => Array ( ) [addresses] => Array ( ) [pricebook_id] => [pricebook_name] => [default_templates] => Array ( [invoice_template_id] => [invoice_template_name] => [bill_template_id] => [bill_template_name] => [estimate_template_id] => [estimate_template_name] => [creditnote_template_id] => [creditnote_template_name] => [purchaseorder_template_id] => [purchaseorder_template_name] => [paymentthankyou_template_id] => [paymentthankyou_template_name] => [invoice_email_template_id] => [invoice_email_template_name] => [estimate_email_template_id] => [estimate_email_template_name] => [creditnote_email_template_id] => [creditnote_email_template_name] => [purchaseorder_email_template_id] => [purchaseorder_email_template_name] => [paymentthankyou_email_template_id] => [paymentthankyou_email_template_name] => [payment_remittance_email_template_id] => [payment_remittance_email_template_name] => ) [associated_with_square] => [cards] => Array ( ) [checks] => Array ( ) [bank_accounts] => Array ( ) [vpa_list] => Array ( ) [notes] => [created_time] => 2024-06-01T15:03:04+0300 [created_date] => 01 Jun 2024 [created_by_name] => Gate-e [last_modified_time] => 2024-06-01T15:03:04+0300 [tags] => Array ( ) [zohopeople_client_id] => [customer_currency_summaries] => Array ( [0] => Array ( [currency_id] => 4862716000000084112 [currency_code] => BHD [currency_symbol] => BHD [price_precision] => 3 [is_base_currency] => 1 [currency_name_formatted] => BHD- Bahraini Dinar [outstanding_receivable_amount] => 0 [unused_credits_receivable_amount] => 0 ) ) ) [currency] => Array ( [currency_id] => 4862716000000084112 [currency_code] => BHD [currency_name] => Bahraini Dinar [currency_name_formatted] => BHD- Bahraini Dinar [currency_symbol] => BHD [price_precision] => 3 [currency_format] => 1,234,567.899 [is_base_currency] => 1 [exchange_rate] => 0 [effective_date] => ) [try_insert_invoice] => Array ( [customer_id] => 4862716000000851001 [currency_id] => 4862716000000084112 [reference_number] => 10117172432757801 [date] => 2024-06-01 [due_date] => 2024-06-01 [line_items] => Array ( [0] => Array ( [product_type] => goods [name] => Order: #28171724327515, item: تسجيل مبكر - دورة التعلم عن بُعد (يوليو 2024) | برنامج أساسيات اللغة العربية, سعر ال [item_order] => 1 [bcy_rate] => 227.500 [rate] => 227.500 [quantity] => 1 [unit] => 227.500 [header_name] => Gate-E Invoice. 005585 ) ) [notes] => https://i.gate-e.com/CO-9nJ3AHPbHeFCLio ) [response] => Array ( [response] => Array ( [code] => 4 [message] => Invalid value passed for JSONString ) [http_code] => 400 [curl_error] => ) )