Skip to content

Latest commit

 

History

History
69 lines (42 loc) · 3.31 KB

UPGRADE.md

File metadata and controls

69 lines (42 loc) · 3.31 KB

UPGRADE FROM v2.0.15 TO v2.0.16

BC BREAK: FluxSE\PayumStripe\Action\CancelAction has been renamed to CancelAuthorizedAction.

UPGRADE FROM v2.0.5 TO v2.0.6

[STRIPE_CHECKOUT_SESSION]

BC BREAK: FluxSE\PayumStripe\Action\StatusSubscriptionAction has been removed because it doesn't reflect if a subscription has been paid or not, the Session will be used instead to know if the payment is paid.

To complete this removal two Stripe webhook events need to be listen now (only for modes : "payment" and "subscription") :

  • checkout.session.async_payment_failed
  • checkout.session.async_payment_succeeded

NB: The mode "setup" still need setup_intent.canceled and setup_intent.succeeded

UPGRADE FROM v2.0.4 TO v2.0.5

BC BREAK: @FluxSEPayumStripe/Action/stripeJsPaymentIntent.html.twig is now using the new Payment Element instead of the card element. See this documentation to migrate if you made some JS customisations on this template.

UPGRADE FROM v2.0.3 TO v2.0.4

  • twig template @FluxSEPayumStripe/Action/redirectToCheckout.html.twig has been removed, the library will now make a php redirect from the \Stripe\Checkout\Session::$url provided by Stripe after creating a Checkout Session.

UPGRADE FROM v1.2.3 TO v2.0.0

BC BREAK: The class FluxSE\PayumStripe\CaptureAction has been moved and split into two classes :

  • FluxSE\PayumStripe\AbstractCaptureAction the global Abstract class to handle all CaptureAction
  • FluxSE\PayumStripe\StripeCheckoutSession\CaptureAction the dedicated stripe_checkout_session gateway capture action

BC BREAK: Those classes have been moved to a sub folder :

  • FluxSE\PayumStripe\CaptureAction to FluxSE\PayumStripe\StripeCheckoutSession\CaptureAction
  • FluxSE\PayumStripe\Api\RedirectToCheckoutAction toFluxSE\PayumStripe\Action\StripeCheckoutSession\Api\RedirectToCheckoutAction
  • FluxSE\PayumStripe\Request\Api\RedirectToCheckout toFluxSE\PayumStripe\Request\StripeCheckoutSession\Api\RedirectToCheckout
  • FluxSE\PayumStripe\Api\WebhookEvent\CheckoutSessionCompletedAction toFluxSE\PayumStripe\Action\StripeCheckoutSession\Api\WebhookEvent\CheckoutSessionCompletedAction

BC BREAK: Those classes have been moved or renamed to a sub folder :

  • FluxSE\PayumStripe\JsCaptureAction to FluxSE\PayumStripe\StripeJs\CaptureAction
  • FluxSE\PayumStripe\JsConvertPaymentAction to FluxSE\PayumStripe\StripeJs\ConvertPaymentAction
  • FluxSE\PayumStripe\Api\PayAction toFluxSE\PayumStripe\Action\StripeJs\Api\RenderStripeJsAction
  • FluxSE\PayumStripe\Request\Api\Pay toFluxSE\PayumStripe\Request\StripeJs\Api\RenderStripeJs

BC BREAK: Those config keys have been renamed :

  • payum.action.pay to payum.action.render_stripe_js.payment_intent
  • payum.template.pay to payum.template.render_stripe_js.payment_intent

BC BREAK: Those files keys have been renamed :

  • pay.html.twig to stripeJsPaymentIntent.html.twig

UPGRADE FROM v1.2.0 TO v1.2.1

BC BREAK: Those interfaces have been renamed :

  • RetrieveActionInterface to RetrieveResourceActionInterface
  • DeleteActionInterface to DeleteResourceActionInterface

UPGRADE FROM v1.1.2 TO v1.2.0

BC BREAK: The vendor name of this lib has change from Prometee to FluxSE