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

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!

:wave: 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:

Additional Documentation

Test in the Sandbox
Take a Credit Card Payment
In-App Payments SDK Quickstart

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.

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. :slight_smile: