Checkout payment-method webhook event renamed to select
What's new
The webhook event type analytics.checkout.payment_method.selected 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.selected — that value is no longer accepted or returned. Use analytics.checkout.payment_method.select instead.
Changes
| Resource | Change |
|---|---|
| create_webhook | Accepts analytics.checkout.payment_method.select instead of analytics.checkout.payment_method.selected in subscribed events |
| update_webhook | Accepts analytics.checkout.payment_method.select instead of analytics.checkout.payment_method.selected in subscribed events |
| get_webhooks | Returns analytics.checkout.payment_method.select in place of analytics.checkout.payment_method.selected |
| get_webhook | Returns analytics.checkout.payment_method.select in place of analytics.checkout.payment_method.selected |
| expire_webhook_secret | Returns analytics.checkout.payment_method.select in place of analytics.checkout.payment_method.selected |
| reveal_webhook_secret | Returns analytics.checkout.payment_method.select in place of analytics.checkout.payment_method.selected |
Upgrade
- Update any webhook subscribed to
analytics.checkout.payment_method.selectedto useanalytics.checkout.payment_method.select. - Update event handlers that match on the event type string accordingly.
도움이 필요하세요?
통합팀에 문의하십시오 [email protected]