bank: the order page offers a payto link and quotes one reference
The bank-transfer block on the order page now gives two ways to pay. First a payto link (RFC 8905) that hands the IBAN, the amount, the account-holder name and the order code to a payment app in one go, then "Or do a manual transfer" with the same details as before. The manual details list the order code as the Description and nothing else. The page used to print the structured RF reference as well, with a paragraph on which code goes in which field, and that read as two codes for one payment. Matching never needed the RF form: the matcher finds the CC- code anywhere in the remittance text, the RF form included. OrderCryptoPay::structuredReference, which only fed that row, is gone; CreditorReferenceFromToken stays, with its unit test. The link is built in the view from the very values the manual details print, so the two cannot disagree. Url() now lets payto: through, like ethereum:, and the name is percent-encoded because Url() strips spaces. ShouldSettleBankTransfers asserts the whole link, including that its message is the reference the matcher looks for. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
33ce8f45d8
commit
dead3ed0cc
7 changed files with 84 additions and 38 deletions
|
|
@ -803,6 +803,8 @@ treatment it replaces, which read as the wrong category for the work.
|
|||
user-select: all;
|
||||
-webkit-user-select: all;
|
||||
}
|
||||
/* The payto button, set apart from the manual-transfer option below it. */
|
||||
.order__paylink { margin-block-end: var(--s-1); }
|
||||
.order__chains { list-style: none; padding-left: 0; }
|
||||
.order__chains li { margin-block-end: var(--s-1); max-width: var(--measure); }
|
||||
.order__chains small { color: var(--text-faint); }
|
||||
|
|
|
|||
Loading…
Reference in a new issue