Hello,
I have written the javascript for a complete custom checkout flow processed on cloudflare workers edge network.
I’m happy to share that code with anyone who is interested.
I’ve hit a small issue that is the invoice currency not getting passed to the custom checkout. The error is ?TypeError: Cannot read property 'currency' of undefined at createPaymentRequest (?publicToken=xxxx:41) at HTMLDocument.<anonymous> (?publicToken=xxxx:19)
Can anyone shed any light on this api issue?
Many thanks