PayPal Orders V2 payee object in Checkout-PHP-SDK fails with amount error
问题 I am integrating PayPal Checkout which works nicely unless I include a custom payee in the order body. I tried the PayPal PHP example at https://developer.paypal.com/docs/checkout/integration-features/custom-payee/ that looks like this: return array( 'intent' => 'AUTHORIZE', 'purchase_units' => array( 0 => array( 'amount' => array( 'currency_code' => 'USD', 'value' => '220.00' ) ), array( 'payee' => array( 'email_address' => 'payee@email.com' ) ) ) ); Trying to create an order will lead to