Extracting the "Next payment" to show on an account page

I have a My Account page that I created where members will see the content they have access to.
I also include information on how they can change their subscription plan or cancel it.
I would like to add a dynamic date for “your next payment is due…”. I saw some discussions in the forum but cannot find the actual code that works without the EOT.

Can someone show me what the code should look like? I can copy and paste! :slight_smile:

Are you using the s2EOT shortcde? https://s2member.com/kb-article/s2eot-shortcode-documentation/

That will try to figure out the next payment time if there’s no EOT time.

:slight_smile:

Thanks. That works perfectly.
While at it, as I would like to build a sort of “dashboard” for my members, is there a way to extract the “last payment” too?