Incorporating Apple Pay/Stripe using https

We are using Stripe and are working on incorporating Apple Pay into our app. However, Apple Pay requires that all requests come from an origin with https protocol and on ios the protocol for the origin on a capacitor app is capacitor://localhost. I have combed every forum, stack overflow thread, etc. and have not come up with a solution yet. Has anyone successfully incorporated Apple Pay into their apps or figured out a way to send requests via https? (From this thread the latter seems unlikely).

Did you end up coming up with a solution?
I need to do the same.