Using s2Get to display a user's applied discount from coupon code

Hi guys,

As per the title, wondering if we can use s2Get or any other shortcode to display to a user their existing applied discounts, if any.

On the ‘My Account’ page, we show information about subscription duration and next payment date (for recurring subs) or EOT date (for one-off memberships). It would be great to also be able to show what discount is applied to their account there too. E.g. “your next payment date is 10/10/17 || discount applied: 50%”

Not really what I’d call a ‘necessary’ feature but the client is asking me, so I’m asking you all :slight_smile:

Thanks!

Bumping this…

I did some other reading and see that its possible to pull payment info and store it in a db table if you want to, but doesn’t seem to be quite what I am after.

Since the coupon codes and the corresponding percentage (or amount, but ours are all percentage) discount are already stored by s2M I’m hoping this is possible without a whole lot of custom work.