Skip to content

Send/resend a Quickpay payment link from the admin order view #107

Description

@loevgaard

Quickpay is fundamentally a payment-link gateway — the plugin already creates a link for every checkout — but that link is only ever handed to the customer's browser once. The official Quickpay WooCommerce module shows what merchants actually want: create and send the payment link from the individual order page (Quickpay PUT /payments/{id}/link) — "pay by email" for phone orders, failed redirects, B2B invoicing. Sylius/MolliePlugin ships the same idea as a per-order "send payment link" admin action.

Proposal

An action on the admin order view, available for orders with an unpaid Quickpay payment:

  • Fetch/mint the payment link for the existing quickpayPaymentId — creating the Quickpay payment first if checkout never got that far
  • Display the link copy-able in the admin
  • Optionally email it to the customer via the standard Sylius mailer (a plain mailer template — no CRUD email-template entity)

Tasks

  • Link provider + admin order action + mailer template + translations
  • Guard rails: only for orders in a payable state; verify that regenerating a link invalidates nothing at Quickpay
  • README section

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions