Interfaces for Processing Credit Card Payments
MYOB Acumatica provides the interfaces for the implementation of plug-ins for credit card payment processing.
By using these interfaces, you can implement tokenized processing plug-ins. When a tokenized processing plug-in is used, the credit card information is not saved to the application database; this information is stored only at the processing center. The MYOB Acumatica database stores only the identification tokens that link customers and payment methods in the application with the credit card data at the processing center.
For details on how to implement custom plug-ins, see To Implement a Plug-In for Processing Credit Card Payments.
Mandatory Interfaces
The root interface for implementation of custom plug-ins for credit card processing is PX.CCProcessingBase.Interfaces.V2.ICCProcessingPlugin. The system automatically discovers the class that implements the ICCProcessingPlugin interface in the Bin folder of the MYOB Acumatica instance and includes it in the list in the Payment Plug-In (Type) box on the Processing Centers (CA205000) form. For creation of a custom plug-in, you also need to implement the ICCTransactionProcessor interface to process credit card transactions.
Additional Interfaces
- Tokenized credit card processing: Implement the ICCProfileProcessor and ICCHostedFormProcessor interfaces.
- Processing of payments from new credit cards: To use this functionality, implement the ICCProfileCreator, ICCHostedPaymentFormProcessor, ICCHostedPaymentFormResponseParser, and ICCTransactionGetter interfaces. If this functionality is implemented in a custom plug-in, a user can select the Accept Payment from New Card check box on the Processing Centers form for the processing centers that use this custom plug-in.
- Synchronization of credit cards with the processing center: Implement the ICCTransactionGetter interface in a custom plug-in. If this functionality is implemented, on the Synchronize Cards (CA206000) form, users can work with the processing centers that use this custom plug-in.
- Retrieval of the information about suspicious credit card transactions (without the use of the hosted form that accepts payments): To use this functionality, implement the ICCTranStatusGetter interface.
- Webhooks as a way to obtain a response from the processing center: Implement the ICCWebhookProcessor and ICCWebhookResolver interfaces.