Merx

$cart->payPalPurchaseUnits()

Cart as PayPal purchase unit

$cart->payPalPurchaseUnits(): array

Return type

array

Returns an array in the format of PayPal’s purchase_unit_request

Description

Could be used for wagnerwagner.merx.paypal.purchaseUnits. The option
replaces Merx’ own purchase unit, so the returned unit carries the total
of the whole cart.

Parent class

Wagnerwagner\Merx\Cart