edd_refund_stripe_purchase( int|EDDOrdersOrder $order_id_or_object, EDDOrdersOrder|null $refund_object = null )
Refunds a charge made via Stripe.
Description Description
Parameters Parameters
- $order_id_or_object
-
(Required) The ID or object (EDD 3.0+ only) of the order to refund.
- $refund_object
-
(Optional) The refund object associated with this charge refund. If provided, then the refund amount is used as the charge refund amount (for partial refunds), and an EDD transaction record will be inserted (EDD 3.0+ only).
Default value: null
Source Source
File: includes/gateways/stripe/includes/functions.php
Changelog Changelog
Version | Description |
---|---|
2.8.7 | Introduced. |