Problem is in PMS_Subscription_Plan class. This object has field type
which is not set on creation. Field is based on data from db, but on creating Plan, this field isn’t setted, so when Plan is choosed when subscribing, the field is empty (”). Function get_expiration_date (line 279) is checking if field is type regular
or fixed-period
. Because field has empty value (empty string == ”), function is returning empty string instead expiration date.
PS. Sorry for my English.
-
This reply was modified 6 years ago by Kuzdo.