x

bank verification amount wrong

In sandbox everything works fine . In production with all the codes correct when its sent to the bank for verification the amount is wrong and set to a pound when it should be £4.20 .

 

content-length: 207
content-type: application/json
square-version: 2024-07-17
accept-encoding: gzip
accept: application/json
user-agent: Square-TypeScript-SDK/37.1.1 (2024-07-17) {engine}/{engine-version} ({os-info})

 {
  "source_id": "[redacted]",
  "idempotency_key": 
  "amount_money": {
    "amount": 420,
    "currency": "GBP"
  },
  "note": "Order from Artpunk",
  "customer_details": {}
}

response 

402 Response
date: Tue, 04 Mar 2025 11:12:23 GMT
content-length: 1768
square-version: 2024-07-17
x-frame-options: DENY
connection: keep-alive
content-type: application/json
strict-transport-security: max-age=31536000

 {
  "errors": [
    {
      "code": "CARD_DECLINED_VERIFICATION_REQUIRED",
      "detail": "Authorization error: 'CARD_DECLINED_VERIFICATION_REQUIRED'",
      "category": "PAYMENT_METHOD_ERROR"
    }
  ],
  "payment": {
    "id": "redacted
    "created_at": "2025-03-04T11:12:22.574Z",
    "updated_at": "2025-03-04T11:12:23.237Z",
    "amount_money": {
      "amount": 420,
      "currency": "GBP"
    },
    "status": "FAILED",
    "delay_duration": "PT168H",
    "source_type": "CARD",
    "card_details": {
      "status": "FAILED",
      "card": {
        "card_brand": "MASTERCARD",
        "last_4": "1064",
        "exp_month": 4,
        "exp_year": 2027,
        "fingerprint": ""redacted",
        "card_type": "DEBIT",
        "prepaid_type": "NOT_PREPAID",
        "bin": "535674",
        "payment_account_reference": "redacted"
      },
      "entry_method": "KEYED",
      "cvv_status": "CVV_ACCEPTED",
      "avs_status": "AVS_ACCEPTED",
      "errors": [
        {
          "code": "CARD_DECLINED_VERIFICATION_REQUIRED",
          "detail": "Authorization error: 'CARD_DECLINED_VERIFICATION_REQUIRED'",
          "category": "PAYMENT_METHOD_ERROR"
        }
      ],
      "statement_description": "SQ *ARTPUNK",
      "card_payment_timeline": {
        "authorized_at": "2025-03-04T11:12:23.237Z"
      }
    },
    "location_id": "L2EBMNA5V8JPQ",
    "order_id": "cFrAUzbna06Dp2xFfHyrM9NRApbZY",
    "buyer_email_address": "paul@artpunk.com",
    "billing_address": {
      "address_line_1": "djdgdjd",
      "address_line_2": "fhdhdghdg",
      "address_line_3": "dfhdhdghgdhg",
      "country": "GB",
      "first_name": "hjdgjdjdjg"
    },
    "note": "Order from Artpunk",
    "total_money": {
      "amount": 420,
      "currency": "GBP"
    },
5,445 Views
Message 1 of 2
Report Inappropriate Content
1 Best Answer
Admin

Best Answer

Hi @Artpunk,

 

Thanks for your post, and welcome to the Community! 

 

While fellow Sellers and Community Moderators can help with most queries, I'd recommend reaching out on the Square Developer Forum, if you're experiencing unexpected behaviour between your Sandbox and production environments for a custom build. 

View Best Answer >

5,443 Views
Message 2 of 2
Report Inappropriate Content
1 REPLY 1
Admin

Best Answer

Hi @Artpunk,

 

Thanks for your post, and welcome to the Community! 

 

While fellow Sellers and Community Moderators can help with most queries, I'd recommend reaching out on the Square Developer Forum, if you're experiencing unexpected behaviour between your Sandbox and production environments for a custom build. 

5,444 Views
Message 2 of 2
Report Inappropriate Content