Skip to content

Commit

Permalink
feat: downgrade api 1.3 to 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tribiec committed Jan 4, 2024
1 parent 694d7cb commit 625716f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/transbank/common/api_constants.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**
* Contains the Webpay and Oneclick URLs base.
*/
enum ApiConstants {
WEBPAY_ENDPOINT = "/rswebpaytransaction/api/webpay/v1.3",
ONECLICK_ENDPOINT = "/rswebpaytransaction/api/oneclick/v1.3",
PATPASS_COMERCIO_ENDPOINT = "/restpatpass/v1/services",
enum ApiConstants {
WEBPAY_ENDPOINT = '/rswebpaytransaction/api/webpay/v1.2',
ONECLICK_ENDPOINT = '/rswebpaytransaction/api/oneclick/v1.2',
PATPASS_COMERCIO_ENDPOINT = '/restpatpass/v1/services',

BUY_ORDER_LENGTH = 26,
SESSION_ID_LENGTH = 61,
Expand All @@ -16,7 +16,7 @@
USER_NAME_LENGTH = 40,
COMMERCE_CODE_LENGTH = 12,
TOKEN_LENGTH = 64,
EMAIL_LENGTH = 100
EMAIL_LENGTH = 100,
}

export default ApiConstants;

0 comments on commit 625716f

Please sign in to comment.