strangerstudios / pmpro-sponsored-members

Generate a discount code for a main account holder to distribute to sponsored members.
https://www.paidmembershipspro.com/add-ons/pmpro-sponsored-members/
15 stars 27 forks source link

PBC Compatibility #69

Open dparker1005 opened 4 years ago

dparker1005 commented 4 years ago

Currently, child accounts will have access even if the parent account's order is pending (ex. if paying by check). Expected behavior is that the child account would not have access until the payment is accepted.

Gist here as a workaround: https://gist.github.com/dparker1005/fb2641f0539e97fa1e8a77eaacab00c7

andrewlimaza commented 2 months ago

Another issue is that child accounts are not created at checkout when Pay By Check option is selected, to test this set the attribute:

'sponsored_accounts_at_checkout' => true, in your Sponsored Members code.