#taherb-paymentrequestbutton

1 messages ยท Page 1 of 1 (latest)

scenic drift
#

@lucid badger would you have a link to your page that's having this issue so I can see it for myself? That would be the fastest way to help

lucid badger
#

Yep, of course - It's running via Ngrok at https://paper.eu.ngrok.io/apply-to-join - Just fill in the form with anything (but use syntactically valid email addresses, and at least 11 characters in the reason field) and the payment form will appear at the bottom.

scenic drift
#

thanks, that's helpful

#

will look in a little bit, things got really busy unfortunately

lucid badger
#

Of course, no problem ๐Ÿ™‚

lucid badger
#

@scenic drift Ah! I've found the problem, I've got a Feature-Policy header which had payment 'self' defined, but it looks like the Google Pay implementation in Stripe.js is framed in some way. I've changed the definition to payment '*' and it's now loading perfectly. Thanks ๐Ÿ™‚

scenic drift
#

oh ok

#

for what it's worth we don't really have support/docs for Feature-Policy and related concepts yet, though I've been trying to push for it internally since it leads to warnings in Firefox at least

#

but yeah we don't actually have documentation on what features a page using stripe.js would need and what values you might want, which is on us.

#

thanks for the example, I'll raise this again internally