Hello, we have implemented square payments on a custom e-commerce application with typescript and django, but I have noticed a lot more generic decline errors than what we had when we were on WordPress.
Does anyone have any insight to why this is happening?
Here is an example of one I recently received
{‘error’: {‘message’: ‘Square payment failed’, ‘code’: ‘BAD_REQUEST’, ‘error’: ‘{“errors”: [{“code”: “GENERIC_DECLINE”, “detail”: “Authorization error: 'GENERIC_DECLINE'”, “category”: “PAYMENT_METHOD_ERROR”}], “payment”: {“id”: “fJtooghbGsTv0f8BlfMD1JE0fpUZY”, “created_at”: “2024-03-29T05:00:43.450Z”, “updated_at”: “2024-03-29T05:00:43.922Z”, “amount_money”: {“amount”: 7191, “currency”: “USD”}, “status”: “FAILED”, “delay_duration”: “PT168H”, “source_type”: “CARD”, “card_details”: {“status”: “FAILED”, “card”: {“card_brand”: “MASTERCARD”, “last_4”: “9242”, “exp_month”: 7, “exp_year”: 2028, “fingerprint”: “sq-1-HYH6gdfV-k6R8PoOJE_dh_EsvtllG113u3YaB90AZYX9znZLfFtoBri_ZoTKdH46mA”, “card_type”: “DEBIT”, “prepaid_type”: “NOT_PREPAID”, “bin”: “517546”}, “entry_method”: “ON_FILE”, “cvv_status”: “CVV_NOT_CHECKED”, “avs_status”: “AVS_ACCEPTED”, “errors”: [{“code”: “GENERIC_DECLINE”, “detail”: “Authorization error: 'GENERIC_DECLINE'”, “category”: “PAYMENT_METHOD_ERROR”}], “statement_description”: “SQ *SUGARMDS”, “card_payment_timeline”: {“authorized_at”: “2024-03-29T05:00:43.922Z”}}, “location_id”: “FS5KRAMXNX6CR”, “order_id”: “AjW3O7Yh2UMjk6l8QSqK21DJyxJZY”, “reference_id”: “106470”, “customer_id”: “G1V7KMVCCTGFD6HHGHSVXVYG14”, “total_money”: {“amount”: 7191, “currency”: “USD”}, “approved_money”: {“amount”: 0, “currency”: “USD”}, “delay_action”: “CANCEL”, “delayed_until”: “2024-04-05T05:00:43.450Z”, “application_details”: {“square_product”: “ECOMMERCE_API”, “application_id”: “sq0idp-poEEBAE4MeOqlsG9QpfisQ”}, “version_token”: “QTC1FCm5r0EPjMHck2ZLIKZsKMlF2YNQLezWcEvQ10B6o”}}’}}
3 posts - 2 participants