crypto fix
All checks were successful
Deploy / build-deploy (push) Successful in 2m32s

This commit is contained in:
Jorijn van der Graaf 2026-08-19 23:55:01 +02:00
commit 2a4e2c1c85
8 changed files with 1381 additions and 41 deletions

View file

@ -747,15 +747,15 @@ SafeHtml RenderPayFieldset(const Form::Checkout& prev, SafeHtml payError) {
R"(<legend>How you want to pay</legend>)"
R"(<label class="pay-option">)"
R"(<input type="radio" name="pay"{}{}>)"
R"(<span><strong>Bank or card</strong> iDEAL, card, or a plain )"
R"(<span><strong>Bank or card</strong><br>iDEAL, card, or a plain )"
R"(bank transfer. Handled by Mollie.</span></label>)"
R"(<label class="pay-option">)"
R"(<input type="radio" name="pay"{}{}>)"
R"(<span><strong>Cryptocurrency</strong> EURC, a euro )"
R"(stablecoin, paid from your own wallet. The amount to send is the )"
R"(euro total exactly, no exchange rate; the receiving address and )"
R"(the networks it takes appear on the order page, and stay reserved )"
R"(for about a day.</span></label>)"
R"(<span><strong>Cryptocurrency</strong><br>EURC, a euro )"
R"(stablecoin. The amount to send is the )"
R"(euro total exactly, with no exchange rate; the receiving address )"
R"(and the networks it takes appear on the order page, and stay )"
R"(reserved for about a day.</span></label>)"
R"({})"
R"(</fieldset>)",
Attr("value", std::string(Form::kPayBank)),
@ -974,7 +974,7 @@ SafeHtml RenderCheckoutForm(const Product& product,
// With the choice rendered below, the fieldset lists the methods and
// the lede would only repeat half of them.
offerCrypto ? SafeHtml{}
: Raw(": iDEAL, card, or a plain bank transfer, handled by Mollie"),
: Raw(": iDEAL, card, or a bank transfer, handled by Mollie"),
Escape(Form::kShipsToMessage),
Escape(Form::kSanctionsMessage),
CustomsNote(),