Add eCommerce integrations slides
151
ecommerce-integrations.md
Normal file
@ -0,0 +1,151 @@
|
||||
---
|
||||
theme: light
|
||||
marp: true
|
||||
---
|
||||
|
||||

|
||||
|
||||
# BTCPay Server eCommerce integrations
|
||||
|
||||
|
||||
|
||||
@ndeet, estimated block height #752730
|
||||
|
||||
---
|
||||
|
||||
# History has been made
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# BitPay compatible API
|
||||
|
||||
## Features
|
||||
* make BitPay obsolete
|
||||
* drop in replacement for merchants
|
||||
* checkout/payments
|
||||
* IPN callback notifications (insecure payload)
|
||||
|
||||
---
|
||||
|
||||
# Greenfield API
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# 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
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# 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
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## WooCommerce: promotion tokens as vouchers
|
||||
|
||||
e.g. Blockstream Jade, token from presale used to claim product
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# 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?
|
||||
|
||||
---
|
||||
|
||||

|
||||
BIN
ecommerce-integrations/btcpay-birth-emperor.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
ecommerce-integrations/mind-blown.gif
Normal file
|
After Width: | Height: | Size: 1.9 MiB |
BIN
ecommerce-integrations/payment_method_discount.png
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
ecommerce-integrations/payment_method_discount_setting.png
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
ecommerce-integrations/shopify_checkout_1.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
ecommerce-integrations/shopify_checkout_2.png
Normal file
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 154 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 82 KiB |