strangerstudios / paid-memberships-pro

The Trusted Membership Platform That Grows with You: Restrict access to content and charge recurring subscriptions using Stripe, PayPal, and more. Fully open source. 100% GPL.
https://www.paidmembershipspro.com
Other
470 stars 359 forks source link

Add getParentOrder and getChildOrders methods to the MemberOrder class. #616

Open ideadude opened 6 years ago

ideadude commented 6 years ago

These are useful e.g. by affiliate plugins and others that needs to recognize orders associated with a particular subscription_transaction_id.

Parent Order = "first order that uses the same subscription transaction id"

Child Orders = "orders after the first that use the same subscription transaction id".

For reference: https://gist.github.com/strangerstudios/30bff40a5fbe5f95a9f3

dparker1005 commented 3 years ago

This will probably be replaced by subscriptions table.