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
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
Comment #3
mably commentedOpened merge request !356 against 1.x. The Go to payment action now creates and pins the payment, then redirects into kessai
kessai.payhandoff 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.Comment #5
mably commented