Hello,
I am in the process of creating my own wordpress plugin in which I will be displaying the hosted checkout using this endpoint:
/invoicingcheckoutservice/v1/checkouts
I have accomplished creating the request and I get a successful response with the following url:
https://sandbox.dev.clover.com/checkout/{sessionId}?mode=checkout
My problem now is that my wordpress page with the embedded iFrame is not displaying the checkout form.
It gives me the following error:
Refused to frame 'https://sandbox.dev.clover.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors *.clover.com cloverstatic.com dev.cloverstatic.com *.natwest-tyl.com *.usetyl.com *.optimizely.com *.perka.com"
Is there something I'm missing on my request headers?
Currently set as:
"headers" => array( "Authorization" => "Bearer " . $bToken, "X-Clover-Merchant-ID" => $mId, "Accept" => "application/json", "Content-Type" => "application/json" )
Thanks in advance!