Paypal integration additions and updates to CCTransactionResult mapping #133
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR includes the following additions to the PayPal integration:
isCapture
bool argument for theInitializePaymentRequestAsync()
method, which will flag the transaction intent as 'capture' is set totrue
(default 'authorize')CapturePaymentAsync()
method that captures funds immediately with no prior auth. This has been added to the ICreditCardProcessor interface but the method is not implemented in any other payment processor integrations at this time.PartnerAttributionID
andMerchants
for further customization of the integrationAnd the following updates:
InnerTransactions
for each merchant purchase_unit that is evaluated in a transaction. For example, the overall paypal capture can succeed, but it is possible for one or more merchant transactions to fail within the purchase_unit results.