-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Paypal Express Checkout - closes #10531 #10535
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create products (change hostname for prod) curl -X POST https://api-m.sandbox.paypal.com/v1/catalogs/products \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $paypal_token" \
-d '{
"id": "PATRON-GIFT",
"name": "Gift Patron",
"description": "Gift Patron wings to another player.",
"type": "DIGITAL",
"category": "SOFTWARE"
}'
curl -X POST https://api-m.sandbox.paypal.com/v1/catalogs/products \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $paypal_token" \
-d '{
"id": "PATRON-MONTH",
"name": "Monthly Patron",
"description": "Support Lichess and get Patron wings. The subscription is renewed every month.",
"type": "DIGITAL",
"category": "SOFTWARE"
}'
curl -X POST https://api-m.sandbox.paypal.com/v1/catalogs/products \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $paypal_token" \
-d '{
"id": "PATRON-ONETIME",
"name": "One-time Patron",
"description": "Support Lichess and get the Patron wings for one month. Will not renew automatically.",
"type": "DIGITAL",
"category": "SOFTWARE"
}' |
curl -X POST https://api-m.sandbox.paypal.com/v1/billing/plans \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $paypal_token" \
-d '{
"product_id": "PATRON-MONTH",
"name": "Monthly Patron",
"description": "Support Lichess and get Patron wings. The subscription is renewed every month.",
"status": "ACTIVE",
"billing_cycles": [
{
"frequency": {
"interval_unit": "MONTH",
"interval_count": 1
},
"tenure_type": "REGULAR",
"sequence": 1,
"total_cycles": 0,
"pricing_scheme": {
"fixed_price": {
"value": "5",
"currency_code": "USD"
}
}
}
],
"payment_preferences": {
"auto_bill_outstanding": true,
"payment_failure_threshold": 3
}
}' |
* 'master' of github.com:ornicar/lila: Update specs2-core to 4.13.3
* master: New Crowdin updates (#10544) games created by API must be played Game.canTakebackOrAddTime minor code tweak rename sideline->variation as that word already exists in lichess fix forum topic lastPost aggregation New Crowdin updates (#10539) remove question mark from confirm add clearSidelines functionality to backend add clear sidelines modal button revert delete all sidelines feature add deleteAllSidelines string delete sidelines up to the selected node only deleteAllVariations -> deleteAllSidelines first pass at delete variations feature iterate on colors optimize glyph SVGs yarn run format update glyph colors new annotation icons (unoptimized)
* master: (105 commits) New Crowdin updates (#10591) fix SeekApi cache builder simplify SeekApi cache key fix and tweak closed team request deletion serve up to 300 incoming challenges (!) through API don't abort ongoing game from API games from API can be canceled from API, but not from UI Allow mods to make Lichess a team leader and keep it if it's already one nodejs 14 -> 16 in ci (default of worker image) bump github actions (faster upload of compressed files) stop counting bot vs AI in total play time prevent abusive bot accounts from playing thousands of AI games / day graph yaxis should start at zero remove unused dependency hide player ratings in player bars too - for #10601 Revert "don't import player ratings in study chapter based on user setting" hide PGN tag ratings in study chapters - closes #10601 macwire 2.5.6 don't import player ratings in study chapter based on user setting ScalaTest 3.2.11 ...
* master: fix typo in translation key Adjust "patron downgraded to free" wording Don't show student invite forms when already at max More class translations study: Improve destructive form actions layout
* master: bump actions/upload-artifacts again Add class.news translation back again now that it's removed from crowdin Temporarily remove 'class.news' translation to clear it from crowdin New Crowdin updates (#10614)
* master: (60 commits) snabModal must have onClose - closes #9641 fallback to lila after lila-http - closes #10653 Add playstrategy.org to list of forks Tweak markdown CSS Lowercase FairPlayPage translation key link fairplay page in correspondence FAQ add lame name Unify markdown CSS New Crowdin updates (#10639) fix multiple spaces from shorten visible in notifications mimic /broadcast sorting in /api/broadcast - closes #10561 broadcast playing checkbox state - fixes #10571 coords: tweak progress bar style and class name coords: tweak clock hurry color coords: hide depleted clock on finish minor code tweak separate css concerns into different files use translate3d for hardware acceleration fixed transitions on safari allow tables in team markdown - for #10637 ...
* 'master' of github.com:lichess-org/lila: Fix typo in URL Show favorite opponents to boost hunters New Crowdin updates (#10645)
* 'master' of github.com:lichess-org/lila: shutup/Dictionary: One more russian declination shutup/Dictionary: Add declination of new russian words shutup: Fix word splitting for non-ASCII text (i.e. cyrillic) Add more words to the ru dictionary
* master: fix kaladin processing of titled players
* master: allow bot accounts to challenge AI from UI Respect result from pgn over game logic
* master: (103 commits) New Crowdin updates (#10718) move challenge button back to relation/actions eslint ui/analyse: Fix 2nd slice param in uciToLastMove - after 9fadded remove PostView.topicLastPage in model.scala Update specs2-core to 4.15.0 ui/chart/ratingHistory refactor ui/chart division & movetime bump actions/cache to v3 rewrite ratingDistribution.js as ui/chart/src/ratingDistribution.ts rewrite chart JS as ui/chart TS - WIP upgrade ui deps don't read data.treeParts - closes #10658 Improve the proportions of the flag of Latvia ui/analyse refactoring allow up to 128 user study topics always show swiss tournament creator - closes #10716 Update team forum setting description Allow team forum to be seen by everyone again rename "if logged in" to "if registered" (also rename variables) ...
* master: (27 commits) New Crowdin updates (#10730) #10726 renamed everything Pimped* to Lila* (#10735) reload explorer for hashchange event parallelize more plugins in ui/build move ui/speech to ui/site/src/speech.ts fix puzzle keyboard move ui/puzzle: Fix slice - after 36cde6e add lichess.loadIife, simplify ui/keyboardMove fix prev commit ui nvui IIFE modules turn ui/analyse nvui plugin into a proper IIFE module remove ui/build parallel bar which now looks terrible remove debug rollupProject as mjs Improve dimensions of the flag of Finland Added the *n*ext puzzle shortcut to puzzles page use config's net.rateLimit setting in forum actions (#10734) Require Shusher perms to view team chat Limit viewing private forums to Shushers Prevent non-mod posts from mods in team forums without being a member ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A whole new mess of monthly one-time payments, recurring payments, lifetime payments, currencies, gifts, subscription canceling, credit-card update, amount update, interoperability with stripe and compatibility with legacy paypal subscriptions. Yay