The payment interaction (PaymentInteraction) generates the provider URL and redirects the payer to the gateway itself. With kessai gaining a kessai.pay handoff route that owns the provider round-trip, that work belongs there.

This changes the Go to payment action to only create and pin the payment, then redirect into kessai.pay. The bridge no longer calls initiate() or builds the gateway redirect: kessai handoff route does that, and announces kessai.initiated on the payer deliberate handoff. So a consumer (a booking, say) can bracket the round-trip without this bridge knowing anything about it.

Depends on the kessai handoff route from #3611852.

Issue fork orchestra-3611855

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Status: Active » Needs review

Opened merge request !356 against 1.x. The Go to payment action now creates and pins the payment, then redirects into kessai kessai.pay handoff route; the bridge no longer touches the gateway. Depends on the kessai handoff route (kessai #3611852), so CI here goes green once that has landed in kessai 1.x-dev.

  • mably committed bb7a66de on 1.x
    task: #3611855 Hand the payment step off to kessai's handoff route
    
    By:...
mably’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.