Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Add billing support#449

Merged
paulomarg merged 2 commits intomainfrom
add_billing_support
Aug 15, 2022
Merged

Add billing support#449
paulomarg merged 2 commits intomainfrom
add_billing_support

Conversation

@paulomarg
Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

Apps might want to charge for their usage, and they can use the Admin API to request payment from the merchant.

WHAT is this pull request doing?

Adds a new Shopify.Billing.check method which will check if there is a purchase and create one if not, based on the values in Shopify.Context.BILLING.

Type of change

  • Minor: New feature (non-breaking change which adds functionality)

Checklist

  • I have added a changelog entry, prefixed by the type of change noted above
  • I have added/updated tests for this change
  • I have documented new APIs/updated the documentation for modified APIs (for public APIs)

@paulomarg paulomarg requested a review from a team as a code owner August 9, 2022 17:24
@paulomarg paulomarg force-pushed the add_billing_support branch 3 times, most recently from 90b2c82 to fa37ae5 Compare August 9, 2022 17:28
Comment thread docs/usage/billing.md Outdated
Comment thread src/billing/check.ts Outdated
Comment thread src/billing/check.ts Outdated
@paulomarg paulomarg force-pushed the add_billing_support branch from 54b6057 to 2c0961f Compare August 15, 2022 20:29
@paulomarg paulomarg merged commit 39eb081 into main Aug 15, 2022
@paulomarg paulomarg deleted the add_billing_support branch August 15, 2022 20:36
@shopify-shipit shopify-shipit Bot temporarily deployed to production September 19, 2022 19:28 Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants