Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5168

BTCPay Server: Allow BTCPay settings to define the payment type on checkout

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.9.0
    • Fix Version/s: 5.12.0-b1
    • Component/s: Gateways
    • Labels:
      None

      Description

      Please review the thread here: https://www.blesta.com/forums/index.php?/topic/25775-btcpay-payment-module-forces-btc-payment-method-instead-of-allowing-store-to-use-its-default/

      Note that Blesta specifies the payment type, so that when the BTCPay server payment screen with QR code appears, the payment type is already defined. This results in a BTCPay invoice being created that expect that payment type. e.g. Bitcoin, or Lightning

      Instead, we should use whatever the default Invoice Settings are in the BTCPay server configuration. See screenshot. By default, this is BTC (On-Chain), but can also be Lightning, or another method if so configured.

      Blesta should honor the method selected here.

      If however, Blesta does not set the method, then the method may chosen by the customer.

      So, by default we should honor what is set in the store settings, but perhaps we should make this a gateway configuration option.

      • Allow the client to choose payment method (In this case, we simply do not set it ourselves)
      • Force store default as configured in BTCPay Server (In this case, we set it to match what is configured)

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Description Please review the thread here: https://www.blesta.com/forums/index.php?/topic/25775-btcpay-payment-module-forces-btc-payment-method-instead-of-allowing-store-to-use-its-default/

        Note that Blesta specifies the payment type, so that when the BTCPay server payment screen with QR code appears, the payment type is already defined. This results in a BTCPay invoice being created that expect that payment type. e.g. Bitcoin, or Lightning

        Instead, we should use whatever the default Invoice Settings are in the BTCPay server configuration. See screenshot. By default, this is BTC (On-Chain), but can also be Lightning, or another method if so configured.

        Blesta should honor the method selected here.
        Please review the thread here: https://www.blesta.com/forums/index.php?/topic/25775-btcpay-payment-module-forces-btc-payment-method-instead-of-allowing-store-to-use-its-default/

        Note that Blesta specifies the payment type, so that when the BTCPay server payment screen with QR code appears, the payment type is already defined. This results in a BTCPay invoice being created that expect that payment type. e.g. Bitcoin, or Lightning

        Instead, we should use whatever the default Invoice Settings are in the BTCPay server configuration. See screenshot. By default, this is BTC (On-Chain), but can also be Lightning, or another method if so configured.

        Blesta should honor the method selected here.

        If however, Blesta does not set the method, then the method may chosen by the customer.

        So, by default we should honor what is set in the store settings, but perhaps we should make this a gateway configuration option.

        - Allow the client to choose payment method (In this case, we simply do not set it ourselves)
        - Force store default as configured in BTCPay Server (In this case, we set it to match what is configured)

        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher

          People

          • Assignee:
            Unassigned
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: