Skip to content

Commit

Permalink
Fix CAT for paystack (airbytehq#24695)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazebnyi authored Mar 30, 2023
1 parent b92e044 commit 1b25120
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{"stream": "refunds", "data": {"integration": 697720, "transaction": 2492950380, "dispute": null, "settlement": null, "id": 8629011, "domain": "test", "currency": "ZAR", "amount": 10000, "status": "processed", "refunded_at": null, "refunded_by": "integration-test@airbyte.io", "customer_note": "Refund for transaction 9761f598e7ed9bebc83b732d90469a9edbf77f4fba41add8", "merchant_note": "Refund for transaction 9761f598e7ed9bebc83b732d90469a9edbf77f4fba41add8 by integration-test@airbyte.io", "deducted_amount": 10000, "fully_deducted": true, "createdAt": "2023-03-16T08:38:41.000Z", "bank_reference": null, "transaction_reference": "9761f598e7ed9bebc83b732d90469a9edbf77f4fba41add8", "reason": "PROCESSED", "customer": {"id": 60192836, "first_name": "Linda", "last_name": "Frost", "email": "linda.frost@gmail.com", "customer_code": "CUS_3e1cn4wzkhal2da", "phone": "12025550191", "metadata": "{}", "risk_action": "default", "international_format_phone": "+12025550191"}, "refund_type": "Partial", "transaction_amount": 500000, "initiated_by": "integration-test@airbyte.io", "refund_channel": "Original Payment", "session_id": null, "collect_account_number": false}, "emitted_at": 1679327702922}
{"stream": "refunds", "data": {"integration": 697720, "transaction": 2580502446, "dispute": null, "settlement": null, "id": 8629000, "domain": "test", "currency": "ZAR", "amount": 5000, "status": "processed", "refunded_at": null, "refunded_by": "integration-test@airbyte.io", "customer_note": "Refund for transaction d348d6899fad69a2a02c28bd897e76ea53e61d7a6836cc48", "merchant_note": "Refund for transaction d348d6899fad69a2a02c28bd897e76ea53e61d7a6836cc48 by integration-test@airbyte.io", "deducted_amount": 5000, "fully_deducted": true, "createdAt": "2023-03-16T08:38:09.000Z", "bank_reference": null, "transaction_reference": "d348d6899fad69a2a02c28bd897e76ea53e61d7a6836cc48", "reason": "PROCESSED", "customer": {"id": 60192836, "first_name": "Linda", "last_name": "Frost", "email": "linda.frost@gmail.com", "customer_code": "CUS_3e1cn4wzkhal2da", "phone": "12025550191", "metadata": "{}", "risk_action": "default", "international_format_phone": "+12025550191"}, "refund_type": "Partial", "transaction_amount": 500000, "initiated_by": "integration-test@airbyte.io", "refund_channel": "Original Payment", "session_id": null, "collect_account_number": false}, "emitted_at": 1679327702923}
{"stream": "refunds", "data": {"integration": 697720, "transaction": 1422674256, "dispute": null, "settlement": null, "id": 2843789, "domain": "test", "currency": "ZAR", "amount": 500000, "status": "processed", "refunded_at": null, "refunded_by": "integration-test@airbyte.io", "customer_note": "customer text", "merchant_note": "mechant text", "deducted_amount": 500000, "fully_deducted": true, "createdAt": "2021-11-01T15:55:57.000Z", "bank_reference": null, "transaction_reference": "fhq8hf4t4l4gyfi", "reason": "PROCESSED", "customer": {"id": 60192836, "first_name": "Linda", "last_name": "Frost", "email": "linda.frost@gmail.com", "customer_code": "CUS_3e1cn4wzkhal2da", "phone": "12025550191", "metadata": "{}", "risk_action": "default", "international_format_phone": "+12025550191"}, "refund_type": "Full", "transaction_amount": 500000, "initiated_by": "integration-test@airbyte.io", "refund_channel": "Original Payment", "session_id": null, "collect_account_number": false}, "emitted_at": 1679327702923}
{"stream": "subscriptions", "data": {"id": 325013, "domain": "test", "status": "active", "start": 1635779383, "quantity": 1, "subscription_code": "SUB_673k4jnv0n8bher", "email_token": "14p5kd7iru43apq", "amount": 500000, "cron_expression": "0 0 1 * *", "next_payment_date": "2023-04-01T00:00:00.000Z", "open_invoice": null, "createdAt": "2021-11-01T15:09:43.000Z", "integration": 697720, "plan": {"id": 182190, "domain": "test", "name": "Monthly retainer", "plan_code": "PLN_4ha6a3gc2esjk4h", "description": null, "amount": 500000, "interval": "monthly", "send_invoices": true, "send_sms": true, "currency": "ZAR", "integration": 697720, "createdAt": "2021-11-01T15:07:32.000Z", "updatedAt": "2021-11-01T15:07:32.000Z"}, "authorization": {"authorization_code": "AUTH_lv6clz1avv", "bin": "408408", "last4": "4081", "exp_month": "01", "exp_year": "2099", "channel": "card", "card_type": "visa ", "bank": "TEST BANK", "country_code": "ZA", "brand": "visa", "reusable": 1, "signature": "SIG_TOttXppJrL9gzErvG93N", "account_name": null}, "customer": {"id": 60192836, "first_name": "Linda", "last_name": "Frost", "email": "linda.frost@gmail.com", "customer_code": "CUS_3e1cn4wzkhal2da", "phone": "12025550191", "metadata": "{}", "risk_action": "default", "international_format_phone": "+12025550191"}, "invoice_limit": 0, "split_code": null, "payments_count": 16, "most_recent_invoice": {"subscription": 325013, "integration": 697720, "domain": "test", "invoice_code": "INV_dbx74dnrepl3pc0", "customer": 60192836, "transaction": 2580502446, "amount": 500000, "period_start": "2023-03-01T00:00:00.000Z", "period_end": "2023-03-31T23:59:59.000Z", "status": "success", "paid": 1, "retries": 1, "authorization": 240581461, "paid_at": "2023-03-01T00:03:39.000Z", "next_notification": "2023-03-28T23:59:59.000Z", "notification_flag": null, "description": null, "id": 6389183, "created_at": "2023-02-26T07:45:56.000Z", "updated_at": "2023-03-01T00:03:39.000Z"}}, "emitted_at": 1679327704455}
{"stream": "subscriptions", "data": {"id": 325013, "domain": "test", "status": "active", "start": 1635779383, "quantity": 1, "subscription_code": "SUB_673k4jnv0n8bher", "email_token": "14p5kd7iru43apq", "amount": 500000, "cron_expression": "0 0 1 * *", "next_payment_date": "2023-04-01T00:00:00.000Z", "open_invoice": "INV_u2b53c60v4p6xdm", "createdAt": "2021-11-01T15:09:43.000Z", "integration": 697720, "plan": {"id": 182190, "domain": "test", "name": "Monthly retainer", "plan_code": "PLN_4ha6a3gc2esjk4h", "description": null, "amount": 500000, "interval": "monthly", "send_invoices": true, "send_sms": true, "currency": "ZAR", "integration": 697720, "createdAt": "2021-11-01T15:07:32.000Z", "updatedAt": "2021-11-01T15:07:32.000Z"}, "authorization": {"authorization_code": "AUTH_lv6clz1avv", "bin": "408408", "last4": "4081", "exp_month": "01", "exp_year": "2099", "channel": "card", "card_type": "visa ", "bank": "TEST BANK", "country_code": "ZA", "brand": "visa", "reusable": 1, "signature": "SIG_TOttXppJrL9gzErvG93N", "account_name": null}, "customer": {"id": 60192836, "first_name": "Linda", "last_name": "Frost", "email": "linda.frost@gmail.com", "customer_code": "CUS_3e1cn4wzkhal2da", "phone": "12025550191", "metadata": "{}", "risk_action": "default", "international_format_phone": "+12025550191"}, "invoice_limit": 0, "split_code": null, "payments_count": 16, "most_recent_invoice": {"subscription": 325013, "integration": 697720, "domain": "test", "invoice_code": "INV_u2b53c60v4p6xdm", "customer": 60192836, "transaction": null, "amount": 500000, "period_start": "2023-04-01T00:00:00.000Z", "period_end": "2023-04-30T23:59:59.000Z", "status": "pending", "paid": 0, "retries": 0, "authorization": 240581461, "paid_at": null, "next_notification": null, "notification_flag": null, "description": null, "id": 6650781, "created_at": "2023-03-29T07:45:19.000Z", "updated_at": "2023-03-29T07:45:19.000Z"}}, "emitted_at": 1680175721218}
{"stream": "transactions", "data": {"id": 2632719892, "domain": "test", "status": "failed", "reference": "T564054994475542", "amount": 29700, "message": null, "gateway_response": "Received invalid response from remote entity", "paid_at": null, "created_at": "2023-03-16T12:18:11.000Z", "channel": "card", "currency": "ZAR", "ip_address": "85.209.47.207", "metadata": {"referrer": "https://paystack.com/pfm/ckaak52ywbxl5h3"}, "log": {"start_time": 1678969062, "time_spent": 4, "attempts": 1, "errors": 1, "success": false, "mobile": false, "input": [], "history": [{"type": "action", "message": "Attempted to pay with card", "time": 3}, {"type": "error", "message": "Error: Failed", "time": 4}]}, "fees": null, "fees_split": null, "customer": {"id": 115567748, "first_name": "User1", "last_name": "Sample", "email": "user1.sample@zohomail.eu", "phone": "4156236785", "metadata": {"calling_code": "+1"}, "customer_code": "CUS_41tz4a90iprmyt0", "risk_action": "default"}, "authorization": {"authorization_code": null, "bin": null, "last4": null, "exp_month": null, "exp_year": null, "channel": null, "card_type": null, "bank": null, "country_code": null, "brand": null, "reusable": false, "signature": null, "account_name": null}, "plan": {}, "split": {}, "subaccount": {}, "order_id": 1074055, "paidAt": null, "createdAt": "2023-03-16T12:18:11.000Z", "requested_amount": 29700, "source": {"source": "checkout", "type": "web", "identifier": null, "entry_point": "request_inline"}, "pos_transaction_data": null}, "emitted_at": 1679327705536}
{"stream": "transactions", "data": {"id": 2632717712, "domain": "test", "status": "failed", "reference": "T920327647697952", "amount": 29700, "message": null, "gateway_response": "Received invalid response from remote entity", "paid_at": null, "created_at": "2023-03-16T12:17:18.000Z", "channel": "card", "currency": "ZAR", "ip_address": "85.209.47.207", "metadata": {"referrer": "https://paystack.shop/test-storefont-1"}, "log": {"start_time": 1678969010, "time_spent": 7, "attempts": 1, "errors": 1, "success": false, "mobile": false, "input": [], "history": [{"type": "action", "message": "Attempted to pay with card", "time": 7}, {"type": "error", "message": "Error: Failed", "time": 7}]}, "fees": null, "fees_split": null, "customer": {"id": 115567855, "first_name": "User2", "last_name": "Sample", "email": "user2.sample.airbyte@gmail.com", "phone": "4156236785", "metadata": {"calling_code": "+1"}, "customer_code": "CUS_p9r9jjh6wmpn5ve", "risk_action": "default"}, "authorization": {"authorization_code": null, "bin": null, "last4": null, "exp_month": null, "exp_year": null, "channel": null, "card_type": null, "bank": null, "country_code": null, "brand": null, "reusable": false, "signature": null, "account_name": null}, "plan": {}, "split": {}, "subaccount": {}, "order_id": 1074052, "paidAt": null, "createdAt": "2023-03-16T12:17:18.000Z", "requested_amount": 29700, "source": {"source": "checkout", "type": "web", "identifier": null, "entry_point": "request_inline"}, "pos_transaction_data": null}, "emitted_at": 1679327705537}
{"stream": "transactions", "data": {"id": 2632716593, "domain": "test", "status": "failed", "reference": "T016713868083167", "amount": 30000, "message": null, "gateway_response": "Received invalid response from remote entity", "paid_at": null, "created_at": "2023-03-16T12:16:52.000Z", "channel": "card", "currency": "ZAR", "ip_address": "85.209.47.207", "metadata": {"referrer": "https://paystack.shop/test-storefont-1"}, "log": {"start_time": 1678968984, "time_spent": 14, "attempts": 2, "errors": 2, "success": false, "mobile": false, "input": [], "history": [{"type": "action", "message": "Attempted to pay with card", "time": 5}, {"type": "error", "message": "Error: Failed", "time": 6}, {"type": "action", "message": "Attempted to pay with card", "time": 14}, {"type": "error", "message": "Error: Failed", "time": 14}]}, "fees": null, "fees_split": null, "customer": {"id": 115567855, "first_name": "User2", "last_name": "Sample", "email": "user2.sample.airbyte@gmail.com", "phone": "4156236785", "metadata": {"calling_code": "+1"}, "customer_code": "CUS_p9r9jjh6wmpn5ve", "risk_action": "default"}, "authorization": {"authorization_code": null, "bin": null, "last4": null, "exp_month": null, "exp_year": null, "channel": null, "card_type": null, "bank": null, "country_code": null, "brand": null, "reusable": false, "signature": null, "account_name": null}, "plan": {}, "split": {}, "subaccount": {}, "order_id": 1074051, "paidAt": null, "createdAt": "2023-03-16T12:16:52.000Z", "requested_amount": 30000, "source": {"source": "checkout", "type": "web", "identifier": null, "entry_point": "request_inline"}, "pos_transaction_data": null}, "emitted_at": 1679327705537}
Expand Down

0 comments on commit 1b25120

Please sign in to comment.