Apple Pay in an iFrame with verified domains - iframe

TL;DR I want to show Apple Pay in an iFrame, where both domains (iFrame domain and top level domain) are verified with Apple Pay. It's not working. Any hints?
Hello! I'm using Stripe + Apple Pay on sample.com. I'm then embedding an iFrame of sample.com into second-website.com. I have control of both domains and I have successfully verified BOTH domains with Stripe and Apple Pay.
I can clearly see the Apple Pay option sample.com. However, when I embed the iFrame of sample.com into second-website.com, I don't see the Apple Pay option.
Any hints as to what I'm doing wrong? Thanks!
Hello!
TL;DR I want to show Apple Pay in an iFrame, where both domains (iFrame domain and top level domain) are verified with Apple Pay. It's not working. Any hints?
Hello! I'm using Stripe + Apple Pay on sample.com. I'm then embedding an iFrame of sample.com into second-website.com. I have control of both domains and I have successfully verified BOTH domains with Stripe and Apple Pay.
I can clearly see the Apple Pay option sample.com. However, when I embed the iFrame of sample.com into second-website.com, I don't see the Apple Pay option.
Any hints as to what I'm doing wrong? Thanks!

Related

How to whitelist Apple and Google to access deep link association files?

We have implemented Universal Links for iOS and Android App Links.
We have deployed the following files as per the documentation:
/.well-known/apple-app-site-association
/.well-known/assetlinks.json
Everything works fine until my organization applied domain-level block on traffic out side my country.
We need to whitelist Apple and Google servers but I cannot find their IPs or domain used to access those files.
You should allow all subdomains of Apple & Google to access your servers in the companies firewall,
According to apple, and google, if you are using their products and services in an enterprise environment (e.g. behind a firewall), you should whitelist the following addresses and subdomains:
for Apple: https://support.apple.com/en-us/HT210060
for Google: https://support.google.com/a/answer/2589954?hl=en
and for google also check these lists:
https://support.google.com/a/answer/10026322
https://cloud.google.com/vpc/docs/access-apis-external-ip#config

How to invoke Google/Apple Pay from a Xamarin.Forms WebView?

Is there a way to enable Google/Apple Pay to be invoked from a WebView? I'm using a payment service (similar to Stripe) that will gives me a payment URL. To finish a payment, I have to open a browser, navigate to that URL and let the user pay.
I'm using a WebView because I need to be able to intercept the browser navigation and close it when it's navigating to the return URL I've provided to the payment service. That's why I'm not opening the URL in a browser intent.
The problem is that when opened in a WebView, clicking on the Google Pay button fails to open the Google Pay overlay (where you can pick a card and pay) and the payment cannot be finished. I suspect that the WebView isn't able to invoke the Google Pay API, is there a way to enable that? If not, I'd have to switch to opening the payment URL in a browser intent (using the Xamarin.Essentials's Browser API) and I'd lose the option to intercept the browser navigation.
Thanks for any advice!
EDIT:
I've received advice from the my payment processor in the meantime. They said:
Use the Chrome Custom Tabs for Android instead of the WebView. It works similarly but also supports standard functionality (such as Google Pay). To use Apple Pay on iOS, use the SFSafariController.
I'll try that and report back here.

How to remove the app from the "Apps Using Apple ID"?

I'm using Apple Login with Flutter/Firebase.
How can I remove my app from the "Apps Using Apple ID"?
In other words, how can I achieve the function of "Stop using Apple ID" button programmatically?
I'm using this package: https://pub.dev/packages/sign_in_with_apple
The screenshots of where I asking about:
If I understand you correctly you want to remove your app from the listing of "App using Apple Id" within iOS settings after a user has signed out?
If a user has signed in with Apple Id before your app will show here. Even if the user has signed out via Firebase, it will show here. I believe this to be a bit of iOS functionality and not controllable by us. It is to show iOS users where they have used their Apple ID before as I believe the account will reauthenticate until removed.
https://support.apple.com/en-gb/HT205064
This is the issue that developers are facing with the new Apple guidelines for using Apple Signin. You must provide a way for the user to "delete" their account and also to revoke their Sign In status. Apple provides only one way at the moment and that's via their REST API. It's a confusing route that I won't cover here as there are many other pages that cover it, but here is a good starting point.
https://developer.apple.com/forums/thread/708415

Amazon Pay permissions not showing

I have a skill which utilizes Amazon pay and other permissions (user's mobile number email and name, device address, alexa notifications,Skills Personalization).
All permission are visible on the Alexa app/web interface but Amazon pay isn't and on the developer portal all permissions are toggled. Is this a bug or I am missing something ?
this sounds to me like you possibly did not link your Amazon Pay merchant account to the skill. Please check here for guidance on required steps:
https://developer.amazon.com/en-US/docs/alexa/amazon-pay-alexa/integrate-skill-with-amazon-pay-v2.html#link-your-skill-with-your-amazon-payments-account-in-seller-central
There is some caching in place. It might take a while for the permission to show up, once you linked the skill to your merchant account. I'm unfortunately not aware of the cache eviction time.
Daniel

Paypal Sandbox doing crazy things

First of all , the test accounts I created were not working. So, I removed all Paypal cookies.So, now good thing I can login into test accounts but can't access My Settings and My Selling tools under My Profile. I'm trying to create Buy Now button in My Selling tools.
Also, My Paypal live account is for Paypal Payments Standard(My Business Setup->My payment solution) and in test account the payment solution is Paypal Payments Pro and doesn't let me change this option.The links in my business solution (View all products to learn more or select an additional payment solution or we can recommend one that fits your needs.) goes to PayPal live site.
Any one facing this crazy PayPal sandbox behavior !!!
When you say you can't access My Settings and My Selling tools under My Profile, are you getting an error or what is it doing specifically. The Pro account that you have in sandbox, will work for testing Website Payments Standard. Also, another option if you can't create test buttons from your sandbox account would be to log into your live account and create a non hosted / clear text button. Then you would just modify the button code, and change the URL in the form tag from the live site to the sandbox site. Also, you will need to change the value of the business variable and set it to either the email address of your test sandbox seller account or the merchant id. Another work around that has worked in the past as well, is going into your live account and going to the page you are wanting and copy the URL from the address bar and just modifing it to include the sandbox URL.
So if my live site URL was something like:
https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=
I would just change it to
https://www.sandbox.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=
Also, if you can give me more details about what is happening when you try to access your profile in your sandbox account I can look into it further.

Resources