forked from beam-community/stripity-stripe
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update to the upstream v2.12.1 #20
Open
jalexander
wants to merge
42
commits into
jalexander/v2.10.0
Choose a base branch
from
jalexander/v2.12.1
base: jalexander/v2.10.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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
…fields, and add support for some missing objects (beam-community#602) * Remove /issuing/card_details endpoint interactions The endpoint /issuing/card_details has been removed from the Stripe API. These details can be found at /issuing/cards/retrieve with the appropriate 'expand' parameters. * Remove Issuing Disputes Since Issuing Disputes are no longer available in the Stripe API, remove the issuing disputes module and references to issuing disputes in issuing transaction. * add support for Stripe Mandate core resource * add support for File Link core resource * update core resources structs * add converter support for order_item, usage_record * remove deprecated fields from, add missing fields to issuing objects * add support for Credit Note Line Items, Customer Balance Transactions * remove deprecated fields, add 'threshold reason', alphabetize struct fields * add support for usage_record_summary object * remove incorrect field from recipient fixture for test warning * fix typespecs for struct and update/4 * list login_link as supported object * fix typespec for list/3 * fix typespecs, struct fields for subscriptions objects * add missing struct fields to connect objects * adjust typespec to match library style, add missing struct fields * add missing 'deleted' field to stripe objects * update stripe-mock version * ignore coverage reports in /cover * fix to actually test Stripe.Relay.Product module * add prices api Co-authored-by: Ianko Leite <[email protected]> Co-authored-by: ianko <[email protected]>
This had to be done instead of extracting out the headers in options for all functions that call request. Co-authored-by: Elijah Kim <[email protected]>
Updates the `Stripe.Session` line item typespec to inclue the [price](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price), [price_data](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price), [adjustable_quantity](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price), [tax rates](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-tax_rates), and [dynamic tax rate](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-dynamic_tax_rates) fields. This prevents dialyzer warnings when creating a Checkout Session using these fields.
…mmunity#658) * Introduce Stripe.WebhookPlug helper for handling webhook events * Upgrade ex_doc ~> 0.23.0
When creating a klarna source you need a client_token provided by stripe to use with klarna's sdk. The "missing" body is, e.g. klarna: %{ client_token: "eyJhbGciOiJSUzI1NiIsImtpZCI...", pay_later_asset_urls_descriptive: "https://x.klarnacdn.net/payment-method/assets/badges/generic/klarna.svg", pay_later_asset_urls_standard: "https://x.klarnacdn.net/payment-method/assets/badges/generic/klarna.svg", pay_later_name: "Pay later.", pay_over_time_asset_urls_descriptive: "https://x.klarnacdn.net/payment-method/assets/badges/generic/klarna.svg", pay_over_time_asset_urls_standard: "https://x.klarnacdn.net/payment-method/assets/badges/generic/klarna.svg", pay_over_time_name: "Slice it.", payment_method_categories: "pay_over_time,pay_later", purchase_country: "NO" }, By adding this extra key, we get this information out.
* add fields to session struct * match type spec
* Add application to webhook_endpoint * Add stripe verification session endpoints * Fix typespecs * Add parans to typespecs * Doc update * Adding stripe verification report endpoints * Fix docs
add changes between 2.10 and 2.12.1
* Added missing optional fields on create spec * fixed incoming invoice pattern match to accept customer_details
* Adds expiry feature * Fixes tests * Upgrades stripe-mock to a version that recognizes session expiry * Fixes container version URL * Uses official stripe image
Besides other documentation changes, this commit includes all relevant documents to the generated HTML doc for HexDocs.pm and leverages on latest features of ExDoc.
* add :active, :description, :url as optional parameters for "Update a product" endpoint * add remaining param to "Update a product" endpoint
* Allow webhook event handler to return an error state * Update webhook plug tests with :error events
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.
This PR updates our stripity_stripe fork to v2.12.1. This is part of an effort to bring our forked version of the library closer to the latest upstream version of the library.
This matches all of the changes from upstream, except I added the properties back in that we are still using in massdriver.
Testing this locally by installing the commit ID from this PR.