Subscription methods like cardBrand are only available when the payment method is credit card, it makes sense to check payment method before accessing it, currently I can get the payment method via $subscription->paddleInfo()['payment_information']['payment_method'] but it's not documented, maybe it's better to expose it as $subscription->paymentMethod() too.
Subscription methods like
cardBrand
are only available when the payment method is credit card, it makes sense to check payment method before accessing it, currently I can get the payment method via$subscription->paddleInfo()['payment_information']['payment_method']
but it's not documented, maybe it's better to expose it as$subscription->paymentMethod()
too.