react-coinbase-commerce icon indicating copy to clipboard operation
react-coinbase-commerce copied to clipboard

Refused to display 'https://commerce.coinbase.com/' in a frame because it set 'X-Frame-Options' to 'deny'.

Open ionwebs opened this issue 3 years ago • 5 comments

Refused to display 'https://commerce.coinbase.com/' in a frame because it set 'X-Frame-Options' to 'deny'.

I am getting above error in console while clicking buy now button

ionwebs avatar Nov 29 '22 13:11 ionwebs

Bumping this. I'm also receiving the same error.

michael-iglesias avatar Feb 02 '23 17:02 michael-iglesias

Fixed: Make sure to provide a valid checkoutId

michael-iglesias avatar Feb 02 '23 17:02 michael-iglesias

How do you create checkout id from server side or predefine from beta.coinbase.com dashboard?

ionwebs avatar Feb 03 '23 03:02 ionwebs

I'm having the same issue when using a chargeId.

Seems to work when you provide a checkoutId.

Note: I've confirmed that valid chargeId is being passed to component.

michaelgpt avatar Feb 07 '23 22:02 michaelgpt

Not working for me, tried all sorts of combinations, using Charge.code as mentioned here https://github.com/coinbase/react-coinbase-commerce/issues/63

Nothing worked for me, suppose I'll just redirect to the URL instead.

EricBallard avatar Jan 10 '24 16:01 EricBallard