Payment Integration Client Extension Reference

Payment Integration Client Extension YAML Reference

FieldValueDescription
keyliferay-sample-commerce-payment-integrationSpecifies the unique key for the payment integration client extension.
nameLiferay Sample Commerce Payment IntegrationSpecifies the name of the payment integration client extension.
oAuth2ApplicationExternalReferenceCodeliferay-sample-commerce-shipping-engine-oauth-application-user-agentSpecifies the unique reference code of the OAuth 2 agent.
shippingEngineTypeSettingskey1:value1
key2:value2
key3:value3
key4:value4
key5:value5
Specifies key-value pairs that appear in the shipping engine’s configuration UI.
typecommercePaymentIntegrationSpecifies the type of the client extension.
paymentIntegrationType3Specifies the type of the payment integration.

Payment Integration Types Reference

TypeValue
TYPE_INTERNAL_ONLINE_STANDARD0
TYPE_INTERNAL_ONLINE_REDIRECT1
TYPE_INTERNAL_OFFLINE2
TYPE_FUNCTION_ONLINE_STANDARD3
TYPE_FUNCTION_ONLINE_REDIRECT4
TYPE_FUNCTION_OFFLINE5

See CommercePaymentIntegrationConstants for more information.

Payment Integration Status Reference

ValueStatusDescription
2STATUS_AUTHORIZEDPayment provider authorizes the payment
8STATUS_CANCELLEDPayment gets canceled by the buyer
0STATUS_COMPLETEDTransaction is complete and the merchant receives the payment
4STATUS_FAILEDTransaction fails for reasons other than cancellation
1STATUS_PENDINGSpecifies the creation of a refund that’s not submitted yet
17STATUS_REFUNDEDRefund submission is complete
18STATUS_CREATEDSpecifies the addition of a new payment entry

See CommercePaymentEntryConstants for more information on the constants. See Status Reference for more information on the payments life cycle.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy