thephpleague / omnipay-paypal

PayPal driver for the Omnipay PHP payment processing library
MIT License
299 stars 174 forks source link

Unable to capture multiple times #232

Open saleswarpbrian opened 5 years ago

saleswarpbrian commented 5 years ago

In src/Message/CaptureRequest.php, it is setting $data['COMPLETETYPE'] = 'Complete'; This causes paypal to complete the transaction, even if you haven't captured the full payment. Ideally this should be able to be changed to 'NotComplete' so that you can capture partial payments, but still keep the payment open for capturing the rest later.