PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Missing the Refund FEE

s2Member Plugin. A Membership plugin for WordPress®.

Missing the Refund FEE

Postby martonic » July 31st, 2010, 4:53 pm

Hi Jason,

I found an issue involving the "Refund / Reversal" Notification.

As you know, when refunds occur, Paypal refunds some fees, but not necessarily 100% of them.

The amount of FEES refunded to the seller is included in the IPN for a refund, but it is not available as a "Custom Replacement Code" in the Refund / Reversal Notification.

Please add this, as it is a necessary figure to know for accurate bookkeeping.

Thank you very much. Regards, Marty
User avatar
martonic
Experienced User
Experienced User
 
Posts: 70
Joined: July 14, 2010

Re: Missing the Refund FEE

Postby Jason Caldwell » August 5th, 2010, 3:43 pm

OK. Thanks for great feature request.

Just to clarify, s2Member reports back a negative amount in the API Notification.
Code: Select all
%%-amount%% = The Negative Amount of the payment, that was refunded or reversed back to the Customer.

But what you're looking for is the FEE amount, that is credited back to you?
@C/TODO :: negative FEE amount, as Replacement Code for Refunds/Reversals.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Missing the Refund FEE

Postby martonic » August 10th, 2010, 11:58 am

Yes. It's

vars['paypal']['mc_fee'] in the following hook:

ws_plugin__s2member_during_paypal_notify_during_subscr_eot_refund_reversal

Thanks.
User avatar
martonic
Experienced User
Experienced User
 
Posts: 70
Joined: July 14, 2010

Re: Missing the Refund FEE

Postby Jason Caldwell » August 17th, 2010, 11:43 am

@COMPLETED/TODO :: negative FEE amount, as Replacement Code for Refunds/Reversals.

This was addressed in s2Member v3.2. Now available.

- API Notifications. s2Member's API Notification for Refund/Reversals, now includes a negative `%%-fee%%` Replacement Code; referencing the `mc_fee` variable sent through PayPal® IPN responses.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 13 guests

cron