laravel / cashier-paddle

Cashier Paddle provides an expressive, fluent interface to Paddle's subscription billing services.
https://laravel.com/docs/cashier-paddle
MIT License
238 stars 57 forks source link

Don't trim the request values from Paddle #275

Closed patrickomeara closed 1 month ago

patrickomeara commented 1 month ago

Paddle verifies the signature based on the input as they have it on their end. If Cashier receives strings that have been trimmed by the framework, the signature verification fails. The fields need to stay exactly as Paddle sends them.

Related issues: https://github.com/laravel/cashier-paddle/issues/120 https://github.com/laravel/cashier-paddle/issues/152 https://github.com/laravel/cashier-paddle/issues/173 https://github.com/laravel/cashier-paddle/pull/121