跳至主要内容

Checkout payment-method webhook event renamed

What's new

The webhook event type analytics.checkout.payment_method.open has been renamed to analytics.checkout.payment_method.select. The companion analytics.checkout.payment_method.close event is unchanged.

Impact

This is a breaking change for any webhook subscribed to analytics.checkout.payment_method.open — that value is no longer accepted or returned. Use analytics.checkout.payment_method.select instead.

Changes

ResourceChange
create_webhookAccepts analytics.checkout.payment_method.select instead of analytics.checkout.payment_method.open in subscribed events
update_webhookAccepts analytics.checkout.payment_method.select instead of analytics.checkout.payment_method.open in subscribed events
get_webhooksReturns analytics.checkout.payment_method.select in place of analytics.checkout.payment_method.open
get_webhookReturns analytics.checkout.payment_method.select in place of analytics.checkout.payment_method.open
expire_webhook_secretReturns analytics.checkout.payment_method.select in place of analytics.checkout.payment_method.open
reveal_webhook_secretReturns analytics.checkout.payment_method.select in place of analytics.checkout.payment_method.open

Upgrade

  • Update any webhook subscribed to analytics.checkout.payment_method.open to use analytics.checkout.payment_method.select.
  • Update event handlers that match on the event type string accordingly.

需要技术支持?
联系我们的集成技术团队: [email protected]