edd_stripe_maybe_refund_charge( int $order_id, int $refund_id, bool $all_refunded )

If selected, refunds a charge in Stripe when creating a new refund record.


Description Description

This handles refunds in EDD 3.0+. For EDD 2.x see edd_stripe_process_refund()

See also See also


Top ↑

Parameters Parameters

$order_id

(Required) ID of the order we're processing a refund for.

$refund_id

(Required) ID of the newly created refund record.

$all_refunded

(Required) Whether or not this was a full refund.


Top ↑

Source Source

File: includes/gateways/stripe/includes/payment-actions.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.