Skip to content

Handle the paddle decimal amount#187

Merged
driesvints merged 3 commits intolaravel:1.xfrom
patrickomeara:1.x
Apr 27, 2023
Merged

Handle the paddle decimal amount#187
driesvints merged 3 commits intolaravel:1.xfrom
patrickomeara:1.x

Conversation

@patrickomeara
Copy link
Contributor

  • introduce formatDecimalAmount to handle the format that paddle returns from api calls.
  • move the amount logic into a new trait

This maintains backward compatibility as formatAmount() is unchanged.

* introduce formatDecimalAmount to handle the format that paddle returns from api calls.
* move the amount logic into a new trait
@driesvints driesvints merged commit 3ed6ca8 into laravel:1.x Apr 27, 2023
@driesvints
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants