Closed Benoit1980 closed 4 years ago
### Versions "php": "^7.4", "laravel/cashier-paddle": "^1.0.0-beta.2", "laravel/framework": "^7.24.0",
Unable to add a custom parameter called 'allowQuantity' => 'false' with the chargeProduct() method. When set to false, the quantity in the popup is still visible.
$payLink = $user->chargeProduct('111111', [ 'allowQuantity' => 'false', ]); return view('view', ['payLink' => $payLink]);
To test if custom parameters are working I tried:
$payLink = $user->chargeProduct('111111', [ 'quantity' => 1, ]);
And the above worked. I followed the Paddle parameters from here:
Thank you.
ps: obviously the 11111 has been replaced but I was using a working product integer from my Paddle admin panel
The paylink API has no such option: https://developer.paddle.com/api-reference/product-api/pay-links/createpaylink
Description:
Unable to add a custom parameter called 'allowQuantity' => 'false' with the chargeProduct() method. When set to false, the quantity in the popup is still visible.
Steps To Reproduce:
To test if custom parameters are working I tried:
And the above worked. I followed the Paddle parameters from here:
Thank you.
ps: obviously the 11111 has been replaced but I was using a working product integer from my Paddle admin panel