Skip to main content
ArcBlock Community

Payment checkout not responding correctly

Wasil
Support
payment-kitbugdiscussion

I recently made a product and payment link, but am not able to get a full checkout process for either the ABT or Dollar option set up.

This is a link to the checkout and service in question. As you'll see, whether you press the ABT or Dollar option, it does not take the user through the next automated steps to confirm the purchase.

Are there extra steps to consider and add when self hosting blocklets to ensure they work properly?

I'm use to just launching them on ArcBlock, so I always imagined they'd work the same as they would otherwise. But I'm wondering if there are parameters I'm not adjusting for and implementing, and if there is, please let me know what to look out for, or what to observe and fix, so I can pass on this information to the developer I'm working with!

Thanks again for all your help!

Ocean

Payment Kit Logs:

4 replies

Xiao Fang10 months ago

We are very sorry for the poor experience, you can try the following process to see if it can solve this problem:

  1. Stop all blocklet services.
  2. Start Media Kit.
  3. Start Payment Kit.
  4. Start the remaining bloklets.
Wasil10 months ago(edited)

No worries! Thanks for the help, I gave it a try and it did not fix the status. I still have the same problem as before sadly lol.

Zhiyuan10 months ago(edited)

It looks like one of the Server APIs might not be responding properly.

Please try restarting the Blocklet server:

javascriptCopy
blocklet server stop --force  
blocklet server start

If the issue persists, try accessing the server API directly (usually on port 8089) to check if it’s reachable:

javascriptCopy
curl -X POST http://127.0.0.1:8089/api/gql \
  -H "Content-Type: application/json" \
  -d '{
    "query": "query { getUser(input: { user: { did: \"\" } }) { user { did } } }"
  }'
  
  

Then please share the result with us, a successful response should return:

javascriptCopy
{"code":"forbidden","error":"not allowed"}
Wasil10 months ago(edited)

Okay for sure, I'll share the information and hopefully that helps us to figure out the issue! I'll let you guys know how things work out!

Reply