Issue #3622550: Follow kessai renaming the checkout session to a payment session, which removes the methods this module calls

Follows kessai #3621922, which renamed the payment session surface and removed the old names rather than deprecating them.

  • PaymentInteraction::findInFlight(), PaymentLapsed and OrchestraPaymentTokenHooks::cancelAbandoned() call getPaymentSession().
  • The route-test gateway implements createPaymentSession() instead of initiate().
  • PaymentInFlightTest and PaymentLapsedTimeoutTest build a PaymentSession.
  • Prose naming kessai's object follows the engine; orchestra's own checkout vocabulary (CheckoutEvents, the checkout recorder) is a different thing and is left alone.

No behaviour change. Against kessai 1.x at d159221 the unmodified module failed five kernel tests with Call to undefined method Drupal\kessai\Entity\Payment::setCheckoutSession() and Class Drupal\kessai\CheckoutSession not found; with this branch the orchestra_payment kernel suite is 13/13 green.

Merge request reports

Loading
Loading