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: In Progress
    • 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
        jonathan Jonathan Reissmueller made changes -
        Story Points 3
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.12.0 Sprint 5 [ 215 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.12.0 Sprint 5 [ 215 ] 5.12.0 Sprint 4 [ 214 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 2 hours, 57 minutes [ 10620 ]
        Worklog Id 17687 [ 17687 ]
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.12.0 Sprint 4 [ 214 ] 5.12.0 Sprint 4, 5.12.0 Sprint 5 [ 214, 215 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher

          People

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

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 hours, 57 minutes
              2h 57m

                Agile