Skip to main content
ArcBlock Community

Payment Kit stripe setup error

Twelve
Support
payment-kitbug

hello team,

I launched the payment kit, but keep getting this 404 site?

any ideas how to resolve?

9 replies

wangshijun15 months ago

Hey there! Could you try removing the payment-kit first and then adding it back again? That might help resolve the 404 issue. Thanks!

Twelve15 months ago

thank you that worked.

Twelve15 months ago

Im trying to set up my stripe but am getting an area. Any ideas on how to resolve?

arcblcok stripe.jpg

Twelve15 months ago

z1VV21NqNWkiadznN32ALkos5dQqQwnCMty any ideas on how to fix my stripe?

Xiao Fang15 months ago

Malformed UTF-8 data usually indicates an encoding error. There seems to be an issue with the length of your secret Key. Please try re-copying your secret Key from Stripe.

Xiao Fang15 months ago

If there are still problems after re-entering the public and secret keys, please get in touch with me.

Twelve15 months ago

thank you. do you know what the length of the keys should be? I’m copying mine off of stripe site.

Twelve14 months ago

sorry for delay in my response. but please allow me to circle back on an issue while trying to integrate my own Stripe keys into Payment Kit.

I’m working in test mode, and when I paste in my secret key, I keep getting this error:

Malformed UTF-8 data

Here are the test keys I’m using (public for dev purposes):

  • Publishable Key: pk_test_51PTzJ1C5Sxb577PyRdu9iapsGIoENVV9mcS00slskfRxkfQr2RBg0d60JSEdnfwNt8jW9NKNRWyzAkZbDCyFUrnS007uibnlUS
  • Secret Key: sk_test_51PTzJ1C5Sxb577PyU6iV7DUuNLY1xDFwRihlyWaxcJ8NlWnprYJnm9ASxXLtk95V2mE7PbD0bWwkEa3gBr5mo4Np00SlI4IeLM

I’ve confirmed that:

  • The keys match (both are test mode)
  • There are no extra spaces or encoding issues
  • I’ve tried pasting in incognito mode and different browsers

I also noticed that the default secret key in Payment Kit (when in live mode) is much longer than Stripe’s standard secret keys, so I’m wondering if there’s some custom encoding or validation happening behind the scenes.

Just trying to fully test this flow so I can move forward with integrating payments on my site. Appreciate any help or clarity — especially on the formatting or how to properly override the secret key.

Thanks in advance 🙏

Xiao Fang14 months ago

For your information security, we will encrypt the key a second time.

Reply