# Issue with Credit Card Fields and Pay Button disabled in Square Checkout API in sandbox enviornment

**URL:** <https://developer.squareup.com/forums/t/issue-with-credit-card-fields-and-pay-button-disabled-in-square-checkout-api-in-sandbox-enviornment/21045>\
**Category:** Questions\
**Tags:** checkout-api, sandbox\
**Created:** [February 13, 2025, 7:46am UTC](https://developer.squareup.com/forums/t/issue-with-credit-card-fields-and-pay-button-disabled-in-square-checkout-api-in-sandbox-enviornment/21045 "2025-02-13T07:46:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohini](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Mohini](https://developer.squareup.com/forums/u/Mohini)\
**Post date:** [February 13, 2025, 7:46am UTC](https://developer.squareup.com/forums/t/issue-with-credit-card-fields-and-pay-button-disabled-in-square-checkout-api-in-sandbox-enviornment/21045/1 "2025-02-13T07:46:06Z")

</div>

I am currently integrating the Square Checkout API and using a payment link to process payments. I am working in the sandbox environment and successfully receive the payment link in the API response.

However, when I open the payment link, the text fields for name and email address are visible, but the credit card fields and the Pay button are disabled, preventing me from proceeding with the payment.

Is there any configuration I might be missing, or is this expected behavior in the sandbox environment? How can I enable the credit card fields and complete the payment flow for testing purposes?  
I already sent the mail to support team but didn’t get any reply yet.  
Any insights or guidance would be greatly appreciated. Thank you!

 ![image](https://global.discourse-cdn.com/square/original/2X/f/fdd60431ff7821830307dc7a49b824b53a7b0f7f.png)

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [February 13, 2025, 7:46am UTC](https://developer.squareup.com/forums/t/issue-with-credit-card-fields-and-pay-button-disabled-in-square-checkout-api-in-sandbox-enviornment/21045/2 "2025-02-13T07:46:23Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Square Sandbox](https://developer.squareup.com/docs/devtools/sandbox/overview)**
>
> An overview of the Square Sandbox, which can be used to simulate orders, invoices, payments, and transactions in a test environment.

> **[Sandbox Payments](https://developer.squareup.com/docs/devtools/sandbox/payments)**
>
> A quick reference of test credit card numbers and payment tokens you can use to make test payments with the Square Sandbox.

> **Additional Documentation**
>
> [Test in the Sandbox](https://developer.squareup.com/docs/devtools/sandbox/testing)  
> [Take a Credit Card Payment](https://developer.squareup.com/docs/reader-sdk/quick-start/step-5)  
> [In-App Payments SDK Quickstart](https://developer.squareup.com/docs/in-app-payments-sdk/quick-start/start)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [February 13, 2025, 4:50pm UTC](https://developer.squareup.com/forums/t/issue-with-credit-card-fields-and-pay-button-disabled-in-square-checkout-api-in-sandbox-enviornment/21045/3 "2025-02-13T16:50:00Z")

</div>

This is the expected behavior in sandbox. Payment links created with the Checkout API only allow for a preview in sandbox. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. 🙂

---

<div class="post-metadata">

**Author:** ![pratyush\_square](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@pratyush\_square](https://developer.squareup.com/forums/u/pratyush_square)\
**Post date:** [September 13, 2026, 11:14am UTC](https://developer.squareup.com/forums/t/issue-with-credit-card-fields-and-pay-button-disabled-in-square-checkout-api-in-sandbox-enviornment/21045/4 "2026-09-13T11:14:21Z")

</div>

Hey, @Bryan-Square !  
Just wanted to check if there is any update on this one or not.  
I am using payments links api and using square-hosted checkout page in sandbox but the pay button is disabled. I wanna complete the payment in sandbox so that i can test payment webhooks and check payments in square sandbox account, is that possible?
