cancel
Showing results for 
Search instead for 
Did you mean: 

Assisted Account Creation Refused to display a frame

Highlighted
Contributor

Assisted Account Creation Refused to display a frame

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"