We have replaced all sandbox ID’s with production ID’s and when we run the application on localhost, the card-payment form from web-payment-quickstart does not display. We plan on using the same UI and server.js script on our server to make payments. Is this possible? Do we need to create our own UI to accept credit card payments?
When you switched to production did you also change the script reference? In index.html of the Quickstart you’ll need to update the domain string in the JavaScript reference from sandbox.web.squarecdn.com/v1/square.js
to web.squarecdn.com/v1/square.js
.
Ok that fixed that issue but now we have another one. We’re getting a 408 error when making requests and the code is stuck on the line const payload = await json(req); Can you help why this is happening? The lines of code below this are not executing.
async function createPayment(req, res) {
const payload = await json(req);
logger.debug(JSON.stringify(payload));
I took a look at your account and I see some successful production payments. Were you able to figure out the issue?
@Bryan-Square I am not able to launch the apple pay form in production when i click on apple pay button. We have replaced all sandbox ID’s with production ID’s and even the javaScript tag to https://web.squarecdn.com/v1/square.js
We have our dev sandbox domain working fine. Could you please let us know what we are missing here immediately?
Whats your application ID and where is the page hosted so we can take a look.
We have sorted it out this issue. Also we have executed transaction using the Apple Pay. But we don’t see this transaction reflecting in the seller dashboard. How long does it take to reflect the transaction in seller dashboard.
Or let us know how to check the Apple pay transactions that are captured with status completed in the square seller dashboard?
By the way i can see the payment success transaction in API logs.
It should show immediately unless autocomplete
was set to false
. That would mean the payment is in an APPROVED
state and isn’t shown on the Dashboard. If its in an APPROVED
state you can call CompletePayment
with the payment_id
to complete the payment.
Can you please send us screenshot and link where we can see the Apple Pay transactions?