Open Wingjam opened 4 years ago
If API responses are correct, JSON should be able to parse them correctly. Use your .env in https://docs.clover.com/clover-platform/reference/charges
To test and see whats the response.
Hi Wing, Thanks for reaching out. I tried with my sample sandbox credentials and I am able to charge successfully. You can share your charge request to me DM- deepali.mittal@clover.com , I will try if anything wrong with request. You would need to provide API Token in Charge Request, which should have beeen part of your .env file.
Hi,
First, thanks for your sample app!
I just cloned your repo, add the .env file with the right information and roll it all up. When testing "Pay with iFrame SDK" with a test card, I got "Invalid JSON received from the Clover API" error. Did I do something wrong?
Full error output :