PluginProbe
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management / 1.6.1
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management v1.6.1
1.6.1 1.6.0 1.5.1 1.5.0 1.4.0 1.3.0 trunk 0.0.1 1.0.0 1.1.0 1.1.1 1.1.2 1.2.0
← All changes | inc/abilities/runtime.php +7 -0 1.5.1 → 1.6.1 View file →
@@ -2405,8 +2405,15 @@
2405 2405 'currency' => $donation['currency'] ?? 'USD',
2406 2406 'donation_type' => $donation['donation_type'] ?? 'one-time',
2407 2407 'is_anonymous' => ! empty( $donation['is_anonymous'] ),
2408 2408 'donor_comment' => $donation['donor_comment'] ?? '',
2409 + // Alongside the comment, because the comment alone does not say
2410 + // whether it is public: with "Hold donor comments for review" on it
2411 + // is 'pending' and hidden, and a rejected one is kept but never
2412 + // shown. The REST detail response and the CSV export both carry
2413 + // this, so an agent reading a donation should not be the only
2414 + // consumer that cannot tell.
2415 + 'donor_comment_status' => $donation['donor_comment_status'] ?? 'approved',
2409 2416 'payment_status' => $donation['payment_status'] ?? 'pending',
2410 2417 'payment_mode' => $donation['payment_mode'] ?? 'test',
2411 2418 'gateway' => $donation['gateway'] ?? '',
2412 2419 'transaction_id' => $donation['transaction_id'] ?? '',