-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
753 implement apple pay and use the donate with apple pay button for support kiwix #1022
base: main
Are you sure you want to change the base?
753 implement apple pay and use the donate with apple pay button for support kiwix #1022
Conversation
This is a UI PR ; please include a screencast or screenshots. |
apple_pay_iphone.movapple_pay_ipad.movapple_pay_macos.mov |
@BPerlakiH Nice, but CI is red! |
From what I suspect, this might require more integration into Stripe, to get the available payment options from there, and possibly make the payments appear on Stripe dashboard, but let's try it without it first. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1022 +/- ##
==========================================
- Coverage 26.32% 24.61% -1.72%
==========================================
Files 114 122 +8
Lines 6495 6887 +392
==========================================
- Hits 1710 1695 -15
- Misses 4785 5192 +407 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
@BPerlakiH I can not merge like this, what is going on with the CI must be properly understood and treated. |
@BPerlakiH your marchant ID commit 3bee29b fixed the iOS build but not the macOS one. Indeed, it's not clear what's happening and is definitely specific to this PR's changes. For clarity, I reran the CI workflow on |
@rgaudin |
OK, I think we're not aligned with what's in this PR. My understanding (@kelson42 please speak up if I'm mistaken) is that this PR should introduce donations on the App (via Apple Pay). So when merging this, we would have a working donation UI that results in actual donated money on our Stripe account. Unless I misunderstood, that's not where we're going.
Obviously this is from reading Stripe's doc and I have no prior ApplePay experience so there might be other ways. @BPerlakiH please let me know what you think of this |
From what I've seen online, we should be able to remove the entitlement/capability from project and add the merchantID to the Stripe dep config. Have you tried? |
Model/Payment.swift
Outdated
// async http call... | ||
Task { [resultHandler] in | ||
|
||
let paymentServer = StripeKiwix(endPoint: URL(string: "http://192.168.100.7:4242")!, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the test server url.
This reverts commit c7bcf0f.
0f19c56
to
33d57a4
Compare
Fixes: #753
Should be tested with real payments to see if it works end to end.