pronamic / wp-pay-core

Core components for the WordPress payment processing library. This library is used in the WordPress plugin Pronamic Pay: https://www.pronamicpay.com/, but also allows other plugin developers to set up a payment plugin.
https://www.wp-pay.org/
GNU General Public License v3.0
27 stars 3 forks source link

Test Configuration not working with credit card subscription #37

Closed knit-pay closed 3 years ago

knit-pay commented 3 years ago

Configuration Test option not working for a credit card subscription. Getting below error. Can not calculate next payment date of subscription without phases.

https://github.com/wp-pay/core/blob/23cc893fee69a7509d3dad6fe73c5ce21bd26303/src/Subscriptions/SubscriptionHelper.php#L208

rvdsteege commented 3 years ago

Sorry, I noticed the same issue. Resolved in https://github.com/wp-pay/core/commit/39b0aaa0776b063ecf058ae214f485df1ad4a474