Skip to content
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

Cryptopay Payment & Pricing Plugin #418

Merged
merged 58 commits into from
Feb 18, 2022
Merged

Conversation

OpenCoreCH
Copy link
Contributor

Payment & pricing plugins for the crypto payment gateway. For the pricing plugin, the main business logic is implemented by the generic ProductPriceRateConversion plugin which consumes the rates in the database with the products.prices.rates module. The rates in the database are produced by the web hook calls.
The same pattern can be used for the Coinbase / ECB plugins such that they only feed the rates in the DB, but do not contain any business logic.

The payment plugin supports payments for products that have a crypto price or for products that only have a fiat price (in this case, the new rate plugin is used for conversion, so the plugin can also be used in conjunction with different rate providers).

Copy link
Member

@pozylon pozylon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! can you please:

  • add some documentation on how to use the payment plugins in conjunction with crypto pay
  • add some documentation on how to use the rate providing functions
  • and write a changelog entry stating what core features have been added (rate stuff)

@pozylon pozylon merged commit 00f834b into unchainedshop:master Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants