SilverCart\Paypal\Model\Paypal::addChargesAndDiscountsForTotalParameters
Adds the charges and discounts for the total amount to the Paypal token parameters.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
Signature
protected function addChargesAndDiscountsForTotalParameters(ShoppingCart
$shoppingCart,
array&
$parameters,
&
$positionIndex )
Parameters
$shoppingCart
—
object
- Shopping cart
$parameters
—
array
- Token parameters
$positionIndex
—
Returns
- void