Payment Processing with Softrip Payments
Intro
PayFields is a hosted payment solution that enables a merchant to securely accept payments directly on their website or checkout page. PayFields includes features that support customizing the look and feel of the checkout page while providing access to Payrix’s PCI Level 1 Certification for payment security and compliance.
Payment with New Credit Card
In Softrip’s implementation, we have PayField related javascript added into the AddPayment page.
On the page load, the user will see the customized PayField fields let user to put the card information.
(Every individual field is a iframe, softrip is don’t have access to the data in those fields)
After filling the card info and click apply, the PayField will send the card information to Payrix and response an token that indicates the card information is valid.
The token will send to STSW and STSW will send request to Payrix to finalize the payment and return a transaction id to STSW.
The transaction id will be logged into AccTrans table for Payment History. The description of the AccTrans table will have
PNREF: [TransID from Payrix]/AUTHCODE:[Payrix Authorization]
Payment with saved Credit Card
The completed payment with payrix will trigger the STSW to create a record in the MrkContactBilling with the masked card information to be able to used for further payment. The PNRef code is the Payrix Token that can be used in the next payment.
Use saved card:
When payment with the saved card, the process is not depends on the PayField. The request is sending to STSW directly and STSW will send request to Payrix API to process the payment and create the Transactions.
Refund Process
For each individual transaction, the user has the ability to process the full or partial refund.
Similar as the payment with used card, the refund sends request to STSW directly then STSW will send request to Payrix.
If there is error with the refund, the error message from Payrix will be displayed on the screen.
Logging
//LogPath/[STServerWeb|STServer]/Pay_[Year]/Pay_[Month]_[Year]/[Date]/CCPayment_[ResNumber]
Related codes and ticket
https://softrip.atlassian.net/browse/SS-4781
Payrix Docs: