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


Top ↑

Source Source

File: includes/gateways/stripe/includes/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.8.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.