Skip to content

revert(buy): restore "click after transfer" payment-confirm label (#661)#703

Merged
TaprootFreak merged 2 commits into
stagingfrom
revert/661-payment-button-label
Jun 8, 2026
Merged

revert(buy): restore "click after transfer" payment-confirm label (#661)#703
TaprootFreak merged 2 commits into
stagingfrom
revert/661-payment-button-label

Conversation

@TaprootFreak

Copy link
Copy Markdown
Contributor

Reverts #661 (issue #660).

The bug

#661 relabelled the buy-payment button buyPaymentConfirm from "Click here once you have made the transfer" to "Request payment instructions by email" / "Zahlungsanweisungen per E-Mail anfordern", on the premise that the click requests the payment slip by email and the customer pays afterwards.

That premise is wrong. On the screen where this button lives (PaymentInformationDetails):

Element Content
buyPaymentInformationDescription (above) "Please transfer the purchase amount using your banking app with these details. The purpose of payment is important!"
On screen IBAN, BIC, name, address and the QR payment request — the instructions are already shown
Button (after #661) "Request payment instructions by email"
PaymentExecutedSheet (after tap) "Thank you. As soon as your transfer has been received, we will transfer the REALU tokens…"

The button's onPressed calls confirmPayment()PUT /v1/realunit/buy/{id}/confirm, which confirms the order and returns a reference. It does not email any instructions, and the instructions are not delivered by email — they are rendered on the same screen. The new label therefore contradicts both the description above it and the success sheet below it, and mislabels a confirm action as an info request.

The fix

Full revert of #661. Restores the original label, which is consistent with the surrounding copy and the actual /confirm behaviour:

Lang Restored value
de Klicken Sie hier, sobald Sie die Überweisung getätigt haben
en Click here once you have made the transfer

Scope

  • buyPaymentConfirm value in strings_de.arb + strings_en.arb (key position unchanged, no other keys touched).
  • Reverts the home_page_loaded.png golden that #661 had bundled in. Goldens are regenerated authoritatively on the dfx01 runner via golden-regenerate.yaml after push (the buy_payment_info_loaded golden must pick up the restored label).
  • lib/generated/i18n.dart is git-ignored and regenerated in CI.

Draft until regenerated goldens land and CI (Analyze & Test + Visual Regression + Coverage Floor) is green.

TaprootFreak and others added 2 commits June 8, 2026 12:34
Reverts #661 (issue #660). The relabel to "Request payment instructions
by email" contradicts the screen it lives on: the payment information
(IBAN, BIC, address, QR code) is already rendered above the button, and
buyPaymentInformationDescription explicitly tells the user to transfer
the amount now. After the tap, PaymentExecutedSheet says "as soon as
your transfer has been received, we will transfer the REALU tokens".

The button's onPressed calls confirmPayment() -> PUT
/v1/realunit/buy/{id}/confirm, which confirms the order and returns a
reference. It does not request payment instructions by email, and the
instructions are not delivered by email at all — they are on screen.

The original label "Click here once you have made the transfer" /
"Klicken Sie hier, sobald Sie die Überweisung getätigt haben" is
consistent with both the description above and the executed sheet below.

Reverts commit 1a659e7.
@TaprootFreak TaprootFreak marked this pull request as ready for review June 8, 2026 10:56
@TaprootFreak TaprootFreak merged commit db26fe4 into staging Jun 8, 2026
10 checks passed
@TaprootFreak TaprootFreak deleted the revert/661-payment-button-label branch June 8, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant