PaypalPlus iFrame integration with Payment Logos - magento

How can I add the payment logo to the PaypalPlus iFrame integration? We have 2 extensions for PaypalPlus, the old one shows payment logos for Paypal, direct debit etc. but the new one not. (The Image has class class="paymentMethodIcon")
In all SDK & Integration guides I did not find any information about this.
Who can help? Is this something which depends on integration and is controlled by Paypal or is there any setting?
Thats how it should look

The payment wall iframe is configured by paypal with a whitelist of allowed domains (see Content Security Policy).
The image URL must be https (specified in the docs)
Your images must be on a server on the whitelist.
This includes: The image URL can not have a custom port.
PayPal automatically adds the domain containing the PPP script to the whitelist.
If you look into the browser console you might be able to see an error like this:
Refused to load the image 'https://my-domain.de:7443/images/payment_sofort_small.png' because it violates the following Content Security Policy directive: "img-src https://*.paypalobjects.com https://ak1s.abmr.net https://ak1.abmr.net https://ak1s.mathtag.com https://akamai.mathtag.com https://my-domain.de".
This is how it looked in my case:

Related

How to fix Twilio URL shortener that is not redirecting?

I set up our messaging service to allow for link shortening within Twilio. I am particularly interested in link tracking capabilities and webhooks.
Added the website domain, verified it. Put in the DNS TXT records according to their instructions. Everything seems to be in order. Yet when I send a link with the ShortenURL=True the link sends as a shortened link but when clicked it doesn't redirect so it takes the user to a 404 page.
I am wondering if there is an issue with the DNS records... or if I am supposed to configure a special domain exclusively for our own shortened links.
the shortened link:
https://portraitsbychristopher.com/qMqpqUP9Wg
Where it should redirect:
https://portraitsbychristopher.com/Tiaras
Tried reading the Twilio docs.

How to stop teams tab to redirecting to webpage

I am working on teams tab, looking for a solution to stop teams tab redirecting to browser or redirecting to any website from website icon🌐 on top right corner.
For a configurable tab , in your config page you call setSettings().
There you specify:
the entityId,
contentUrl,
the websiteUrl,
and optionally the removeUrl
Here you can leave the websiteUrl empty/null/None
Note that you will need to provide a content contentUrl which will point to your angular app/site to render the tab in Teams.
However it is important to be aware that this may have impact on the way a mobile client renders the tab.
If you distribute your App via the tenant store , this will have no impact.
For a published store app (via Appsource), the app needs to be approved / whitelisted to use the url in contentUrl. (this should be handled by the AppValidation Team)
Apps that are approved for mobile will use the contentUrl
Non-approved apps will use the websiteUrl, and if you did not provide that , there is nothing to display😶.
This process is intended make sure existing Apps+Tabs properly render on mobile devices,
and is something to be aware of when design / deploying and sending the app for store approval.
https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/what-are-tabs#mobile-clients
also see :
https://learn.microsoft.com/en-us/graph/api/resources/teamstabconfiguration?view=graph-rest-1.0

webchat integration with Atlassian Confluence

Has anyone integrated the webchat/directline from Microsoft Botframework with Atlassian Confluence
We are exploring options to host a chatbot on one of the wikis powered by Confluence
Any directions/guidance will help;
The only option I see is to use the "/" (slash) command and add an embedded iframe into the space's page. It's possible to backup and download, edit, and upload and restore a page however, the exported page is in XML. So, editing a backed up page wouldn't give you access to the HTML needed to truly integrate Web Chat into the page.
As for the slash command, you will need to develop a separate web app to host the Web Chat instance. Then, simply provide the values required in the iframe macro tool, and you should be set.
iframe macro:
Published page:
Hope of help!

How to show ICICI Payment gateway in magento checkout one page

I am trying to integrate ICICI Payseal gateway with Magento. I have successfully tested the payment gateway with test file. But I am not getting the how to make it live as I am not able to see it on checkout page , also not in admin section. Can someone help me out.
A payment module will be displayed on checkout if it meets certain criterias:
1. It should be active.
2. It should be available for website or store where you are testing.
3. It should be available for zone the customer is from.
Plus there are few more criteria that will depend on what all configuration related controls exist.
You will have to develop a complete module with the provided files by ICICI bank, they provide a code in core php which will work perfectly fine.

Does Google Gadget works for an Internal Corporate Site?

We would like to use the Google Gadget concept in our corporate Intranet. Our infrastructure implies no external web dependencies.
The way I understand Google Gadget is that the gadget xml file requires some pre-processing before being displayed in a Html page:
<script src="http://www.gmodules.com/ig/ifr?url=http://mysite.com/my-gadget.xml
Is this mean I cannot render a gadget in a Page without this pre-processing?
Thank you
Not sure if this helps, but it is also possible to have google widgets make use of secure data behind a firewall by using the the Google Secure Data Connector
The browser still needs to have access to google servers to execute the widget, just data requests will be made to google and then be proxied back to a service running in your network which will then fetch the data.

Resources