'PayPal Pay Later - Empty Iframe
I've been trying to add the PayPal pay later banner to a website and unfortunately I'm getting an issue after following the documentation here:
https://www.paypal.com/ppcredit/messaging/code?layout=text&logo-type=inline&text-color=black
The PayPal script is being brought in as the is being replaced with additional content. However no banner is being shown on the site. I've even tried creating a very basic html WebPage with just the banner is but all I'm seeing is a blank page. Inspecting the page does show some extra content but no messaging.
The code I'm currently using is as follows:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Test Paypal</title>
<script
src="https://www.paypal.com/sdk/js?client-id=AfGBtA5DGojV1CnZgZ-tOUIoL2bimSLUzHWjSPG_5RpJypzFWhG3d6FDKZI3otUGbsn_l923gwLBOIWA¤cy=GBP&components=messages"
data-namespace="PayPalSDK">
</script>
</head>
<body>
<div
data-pp-message
data-pp-style-layout="text"
data-pp-style-logo-type="inline"
data-pp-style-text-color="black"
data-pp-amount="89.99">
</div>
</body>
</html>
As far as I can tell this is exactly what the documentation requires and I'm at a loss to why this isn't working. Any help on this matter would be greatly appreciated.
Solution 1:[1]
For GBP Pay Later messaging, verify you are using the app client ID for a UK account of type BUSINESS.
If it is sandbox, see: sandbox accounts.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Preston PHX |
