Add eCommerce integrations slides

This commit is contained in:
Dennis Reimann 2022-09-09 10:56:22 +02:00
parent 38c10ac5b3
commit c5a464ead0
No known key found for this signature in database
GPG Key ID: 5009E1797F03F8D0
10 changed files with 151 additions and 0 deletions

151
ecommerce-integrations.md Normal file
View File

@ -0,0 +1,151 @@
---
theme: light
marp: true
---
![bg left:40% 40%](./media/btcpay-logo.svg)
# BTCPay Server eCommerce integrations
@ndeet, estimated block height #752730
---
# History has been made
![bg right:60% 60%](./ecommerce-integrations/btcpay-birth-emperor.png)
---
# BitPay compatible API
## Features
* make BitPay obsolete
* drop in replacement for merchants
* checkout/payments
* IPN callback notifications (insecure payload)
---
# Greenfield API
![bg right](./ecommerce-integrations/mind-blown.gif)
---
# The future
## Greenfield API
### Features
* modern REST API
* easy API key setup
* well documented using openAPI (Swagger)
* webhooks/event with signed payload
* managing wallets, pull payments/payouts (for refunds)
* more detailed information
* payment requests
* and much more: Node/Apps/User/Store management, ...
---
# eCommerce integrations
- Shopify *
- WooCommerce *
- Magento 2 *
- PrestaShop *
- Zapier *
- VirtueMart *
- OpenCart (soon) *
- Drupal Commerce
- Shopware
\* using Greenfield API
---
![bg contain](./ecommerce-integrations/shopify_checkout_1.png)
---
![bg contain](./ecommerce-integrations/shopify_checkout_2.png)
---
# Common use cases
* Basic checkout flow
* Receiving notifications (IPN) / webhook events
---
# Other interesting use cases
* separate payment methods
- payment method based discounts, vouchers, ...
* no-redirect payment
* refunds, pull payments
* subscriptions via payment requests
* automations (Zapier)
---
# WooCommerce
## Separated payment gateways (payment methods)
- discount on payment gateways
- promotion tokens as vouchers
See: [https://docs.btcpayserver.org/FAQ/Integrations/#woocommerce-faq](https://docs.btcpayserver.org/FAQ/Integrations/#woocommerce-faq)
---
## WooCommerce: discounts on payment gateways
![](./ecommerce-integrations/payment_method_discount.png)
---
## WooCommerce: promotion tokens as vouchers
e.g. Blockstream Jade, token from presale used to claim product
![height:70%](./ecommerce-integrations/woocommerce_at_limit-payment-methods-rules.png)
---
# Custom integrations with Greenfield API
## Libraries
- C#
- PHP (btcpayserver-greenfield-php on packagist.org)
- JavaScript/NodeJS (help wanted)
---
## Custom integrations cURL / HTTP clients
```bash
curl -s \
-H "Content-Type: application/json" \
-H "Authorization: token $apikey" \
-X GET \
"$BTCPAY_INSTANCE/api/v1/stores/$store_id"
```
- [Greenfield API docs](https://docs.btcpayserver.org/API/Greenfield/v1)
- [cURL examples](https://docs.btcpayserver.org/Development/GreenFieldExample/)
---
# What's next?
---
![bg contain](./media/supporters-light.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB