- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have uploaded my business logo to a secure website. I create/send an invoice using rest api in the sandbox with the logo_url set to my logo url.
I then check the notifications on the dashboard and load the invoice email the image is broken. Inspecting with browser shows console error:
Refused to load the image 'https://www.coplus.co.uk/wp-content/uploads/2018/03/CoplusPNG_Cropped_200x80.png' because it violates the following Content Security Policy directive: "img-src 'self' https://*.paypalobjects.com https://*.google-analytics.com https://*.paypal.com".
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created a workaround myself.
Logged int paypal and created a new invoice template with my logo on it. Once saved i viewed the template, inspected my logo using developer tools and copied the url (paypal uploaded the logo to their servers when saving template). Used this url in my rest invoice request and works perfectly.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created a workaround myself.
Logged int paypal and created a new invoice template with my logo on it. Once saved i viewed the template, inspected my logo using developer tools and copied the url (paypal uploaded the logo to their servers when saving template). Used this url in my rest invoice request and works perfectly.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- AUTH_FLOW_REQUIRED in SDKs
- Generating Wrong Data for Invoices using REST sandbox account in Sandbox Environment
- UNPROCESSABLE_ENTITY MISSING_RECIPIENT_EMAIL in REST APIs
- Redirecting to Paypal payments from our ERP software throws error , Need assistance for account in PayPal Payments Standard
- Problems connecting to PayPal Commerce Platform and accessing Advanced Checkout in REST APIs