Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Jul 6, 2020
1 parent f7c7502 commit 3b57ced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ public function transactions($page = 1)
*/
public function cardBrand()
{
return (string) $this->paddleInfo()['card_type'];
return (string) $this->paddleInfo()['payment_information']['card_type'];
}

/**
Expand All @@ -692,6 +692,6 @@ public function cardBrand()
*/
public function cardLastFour()
{
return (string) $this->paddleInfo()['last_four_digits'];
return (string) $this->paddleInfo()['payment_information']['last_four_digits'];
}
}

0 comments on commit 3b57ced

Please sign in to comment.