#jaram9882_api
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1230203716410281994
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! If you have no front end how are you collecting payment information?
I mean I have a custom front-end
So if it possible to just use REST to run the whole checkout flow, and interact with own custom front-end
Hi, I'm stepping in and catching up.
If you are not using Stripe.js, Checkout etc and collecting payment method details on your end, you would need to be PCI complaint, https://stripe.com/guides/pci-compliance. Are you aware of this?
No, I am not, I will read about it. The problem is that my frontend is running in restricted area, so I can never use stripe client SDK.
You will need to be PCI compliant and Stripe.js safely handles raw card details for you so you are. I highly recommend that you use Stripe.js, https://docs.stripe.com/payments/accept-a-payment.
The application is running as a canister on ICP, I don’t think it works with stripe.js.
The only think I can do is to have an outcall from Motoko BE, which forward the resp to the client.
This would also help, https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis. If you're PCI compliant and using another processor and want to pass in raw pan data, you can. You would need to reach out to our support team and provide the context from that documentation.