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

Add billing support #449

Merged
merged 2 commits into from
Aug 15, 2022
Merged

Add billing support #449

merged 2 commits into from
Aug 15, 2022

Conversation

paulomarg
Copy link
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
docs/usage/billing.md Outdated Show resolved Hide resolved
src/billing/check.ts Outdated Show resolved Hide resolved
src/billing/check.ts Outdated Show resolved Hide resolved
@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