$pusher.checkout($scope.total, 'Item Name')
.then(success)
.catch(error);I was wondering why the PayPal SDK appeared extremely low-level. This is still poorly designed, though. This was intended for use for a single-item checkout (for a reservation software I'm working on).