wc-stripe-webhook-functions.php
Table of Contents
Functions
- wc_stripe_process_source_chargeable() : mixed
- Processes the charge via webhooks for local payment methods like P24, EPS, etc.
- wc_stripe_process_charge_succeeded() : mixed
- When the charge has succeeded, the order should be completed.
- wc_stripe_process_payment_intent_succeeded() : mixed
- wc_stripe_process_charge_failed() : mixed
- wc_stripe_process_create_refund() : mixed
- Function that processes the charge.refund webhook. If the refund is created in the Stripe dashboard, a refund will be created in the WC system to keep WC and Stripe in sync.
- wc_stripe_retry_source_chargeable() : mixed
- wc_stripe_charge_dispute_created() : mixed
- wc_stripe_charge_dispute_closed() : mixed
- wc_stripe_review_opened() : mixed
- wc_stripe_review_closed() : mixed
- wc_stripe_process_requires_action() : mixed
- wc_stripe_process_charge_pending() : mixed
Functions
wc_stripe_process_source_chargeable()
Processes the charge via webhooks for local payment methods like P24, EPS, etc.
wc_stripe_process_source_chargeable(Source $source, WP_REST_Request $request) : mixed
Parameters
- $source : Source
- $request : WP_REST_Request
Tags
wc_stripe_process_charge_succeeded()
When the charge has succeeded, the order should be completed.
wc_stripe_process_charge_succeeded(Charge $charge, WP_REST_Request $request) : mixed
Parameters
- $charge : Charge
- $request : WP_REST_Request
Tags
wc_stripe_process_payment_intent_succeeded()
wc_stripe_process_payment_intent_succeeded(PaymentIntent $intent, WP_REST_Request $request, Event $event) : mixed
Parameters
- $intent : PaymentIntent
- $request : WP_REST_Request
- $event : Event
Tags
wc_stripe_process_charge_failed()
wc_stripe_process_charge_failed(Charge $charge, WP_REST_Request $request) : mixed
Parameters
- $charge : Charge
- $request : WP_REST_Request
Tags
wc_stripe_process_create_refund()
Function that processes the charge.refund webhook. If the refund is created in the Stripe dashboard, a refund will be created in the WC system to keep WC and Stripe in sync.
wc_stripe_process_create_refund(Charge $charge) : mixed
Parameters
- $charge : Charge
Tags
wc_stripe_retry_source_chargeable()
wc_stripe_retry_source_chargeable(mixed $source_id) : mixed
Parameters
- $source_id : mixed
Tags
wc_stripe_charge_dispute_created()
wc_stripe_charge_dispute_created(Dispute $dispute) : mixed
Parameters
- $dispute : Dispute
wc_stripe_charge_dispute_closed()
wc_stripe_charge_dispute_closed(Dispute $dispute) : mixed
Parameters
- $dispute : Dispute
wc_stripe_review_opened()
wc_stripe_review_opened(Review $review) : mixed
Parameters
- $review : Review
wc_stripe_review_closed()
wc_stripe_review_closed(Review $review) : mixed
Parameters
- $review : Review
wc_stripe_process_requires_action()
wc_stripe_process_requires_action(PaymentIntent $payment_intent) : mixed
Parameters
- $payment_intent : PaymentIntent
wc_stripe_process_charge_pending()
wc_stripe_process_charge_pending(Charge $charge) : mixed
Parameters
- $charge : Charge