Hosted Payment Framework Metadata Changes
This page contains all the details of meta-data changes that are made for implementing Hosted Payment in Aptify and deployed through the Setup.
- Entity Updated
- Payment Types
- Merchant Accounts
- Entity Created
- Remote Payment Records
- Remote Payment Configurations
Entity Updated
There are two entities updated
Payment Types
- Updates: Adds the new base payment type
Credit Card Hosted Payment Reference Transaction
in the Payment Types Entity under field Type.
Usage: New base payment type field to be used while creating new payment type that supports Remote/Hosted payment. - Updates: Adds new bit field
IsRemotePayment
on Payment Types Entity.
Usage: Identifies if the payment type supports Remote/Payment.
Merchant Accounts
- Updates: Adds bit field
UseHostedPaymentCheckout
on MerchantAccounts Entity.
Usage: Identifies if the merchant account supports remote/hosted payment. - Updates: Adds field
RemotePaymentAssembly
,RemotePaymentObject
andRemotePaymentClass
on MerchantAccounts Entity for storing the assembly information where the hosted payment implementation has been done.
Usages: Holds the plugin information that has hosted payment implementation for merchant account.
Entity Created
There are two entities created.
Remote Payment Records
Updates: Adds new entity Remote Payment Records
.
Usage: Acts as staging entity to store all the transactions details that were made using the Credit Card Hosted Payment Reference Transaction
. Later this information is used to update the GE that has requested payment with the transaction information.
List of fields and their usage as shown in the table given below:
Name | Usage Description |
EntityIDRequestedPayment | ID of the entity that has requested hosted payment.
|
EntityRecordIDRequestedPayment | Record ID of the entity that has requested payment. |
RequestedAmount | Amount |
MerchantAccountID | ID of the merchant account through which hosted payment was requested. |
RemotePaymentTypeID | ID of the payment Type record that has base payment type as Credit Card Hosted Reference Transaction and has been used for requesting payment. |
PaymentStaus | Status of the record. Possible values are: Success: Payment information applied to the entity record that has requested the payment. |
RawRequest | Hosted Payment URL. |
RawResponse | Response data response received from payment gateway against the payment requested. |
PaymentTypeIdUsed | ID of the payment type record which has base payment type as Credit Card Reference Transaction that has been used on the hosted payment form. |
CreditCardExpiryDate | Credit card expiry date. |
CreditCardAuthCode | Authorization code. |
CreditCardAuthType | Authorization Type. |
CreditCardPartial | Credit card partial account number. |
ReferenceTransactionNumbebr | Credit card reference transaction number. |
ErrorInfo | When the status of the record is Exception then the exception log contains the reason of the exception. |
IsSaveForFutureUseChecked | Used to check if the user has checked the Save for future use on the Hosted Payment Form while making payment. |
Remote Payment Configurations
Updates: Adds new entity Remote Payment Configurations
.
Usage: Holds all the configuration required to use the remote hosted payment. In Stock this entity currently holds the plugin information for invoking the correct remote payment plugin against the active merchant account and plugin information for getting the customer information which is to be used for the hosted payment transaction details.
List of fields and their usage as shown in the table given below:
Name | Usage Description |
RemotePaymentPluginProviderAssembly | Contains Assembly Information of the class that contains the factory selector of the merchant account plugin. |
RemotePaymentPluginProviderObject | Contains Object Information of the class that contains the factory selector of the merchant account plugin. |
RemotePaymentPluginProviderClass | Contains Class Information of the class that contains the factory selector of the merchant account plugin. |
RemotePaymentCustomerInfoProviderAssembly | Contains Assembly Information of the class that contains the factory selector of the customer information plugin. |
RemotePaymentCustomerInfoProviderObject | Contains Object Information of the class that contains the factory selector of the customer information plugin. |
RemotePaymentCustomerInfoProviderClass | Contains Class Information of the class that contains the factory selector of the customer information plugin. |