laravel / cashier-paddle

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

Don't trim the request values from Paddle #275

Closed patrickomeara closed 3 months ago

patrickomeara commented 3 months 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