forked from LiveCarta/PayPal-PHP-SDK
Sanitize Input for Price Variables
- Updated the model to automatically format the price - Updated the samples to reflect the new changes - More Unit Tests
This commit is contained in:
@@ -21,7 +21,7 @@ try {
|
||||
|
||||
$amt = new Amount();
|
||||
$amt->setCurrency("USD")
|
||||
->setTotal("1.00");
|
||||
->setTotal(1);
|
||||
|
||||
### Capture
|
||||
$capture = new Capture();
|
||||
|
||||
Reference in New Issue
Block a user