Assisted Account Creation Refused to display a frame

RevBuy
Contributor
Contributor

I have implemented Assisted Account Creation for client side integration the script given the below:

==========

<script src="https://www.paypal.com/conex/js/client/static/js/zoid.min.js"></script>
<script src="https://www.paypal.com/conex/js/client/static/advConnectZoid.js"></script>
<!DOCTYPE html />
<html>
<body>
<div id="container"></div>
<!-- Set up a container for ACC to be rendered into -->

<script>
// Render the AAC component
AdvConnectZoid.render({
clientId: 'my_client_id',
pageType: 'signup',
onLogin: function(response) {
if(response.err){
console.log(response.err);
} else {
console.log(response.body.code + " " + response.body.payerId);
}

}

}, '#container');
</script>
</body>
</html>

 

========

But i'm getting below error on console and in browser display only paypal button of login

 

========

Refused to display 'https://www.paypal.com/conex/advantage-connect?uid=750415913b&logLevel=info&version=latest&xcomponen...' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' https://*.paypalobjects.com https://*.paypal.com  https://secure.rmntest.com https://secure.rmnstage.com https://*.retailmenot.com https://conex-mock.herokuapp.com https://*.inboxdollars.com http://inboxdollars.hmundy.qa"

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.