2.1.0 • Published 1 month ago

@tap-payments/checkout-v2 v2.1.0

Weekly downloads
-
License
-
Repository
-
Last release
1 month ago

GoSell Checkout SDK

Development Section

Installation

  • run git clone https://github.com/Tap-Payments/goSell-CheckoutSDK.git
  • run cd {{project dir}}
  • run yarn install || npm install
  • run yarn husky:install || npm run husky:install

Scripts || Command options

  • run yarn prettier:fix || npm run prettier:fix To fix all formatting/styling issues
  • run yarn prettier || npm run prettier To find all formatting/style issues
  • run yarn lint || npm run lint To find all eslint/linting issues
  • run yarn lint:fix || npm run lint:fix To fix all eslint/linting issues
  • run yarn test || npm run test To run all test cases
  • run yarn build:npm || npm run build:npm To compile source code from typescript to javascript
  • run yarn build:vanilla || npm run build:vanilla When we need to create a vanilla build
  • run yarn dev || npm run dev To start the project in development mode (http://localhost:3000)
  • run yarn start || npm run start To start the project in production mode (https://domain.name) after doing yarn build

Attribute table

NameDescriptionTypeRequiredStructureExample
amountThis should containe the total amount/price of the purchasenumberTrue-amount={100}
CurrencyThis should contain the currency code preferedstringTrue-currency="KWD"
MetadataThis should contain the items purchased and (tax/shipment) if anyobjectTrue-metaData={{ items: {amount: 100,currency: 'SAR',name: 'Item 1',quantity: 1,}]}}

Metadata table

Metadata consists of 3 object attributes (items, taxes, shipping)

Items attribute

NameDescriptionTypeRequiredStructure
amountThis should containe the amount/price of the purchased itemnumberTrue-
CurrencyThis should contain the currency code preferedstringTrue-
nameThis should contain the name of the itemstringTrue-
quantityThis should contain the quantity of the purchased itemnumberTrue-
descriptionThis should contain description of the purchased itemstringFalse-
imageThis should contain an image URL of the purchased itemstringFalse-
discountThis should contain item discountobjectFalse{ type: string, value: number}

Taxes attribute

NameDescriptionTypeRequiredStructure
nameThis should contain the name of the taxstringTrue-
rateThis should contain the rate of the tax, tax.type is either 'F' for fixed amount or 'P' for percentageobjectTrue{ type: string, value: number}
descriptionThis should contain description of the taxstringFalse-

Shipping attribute

NameDescriptionTypeRequiredStructure
amountThis should containe the amount/price for shipmentnumberTrue-
CurrencyThis should contain the currency code for the shipment coststringTrue-
providorThis should contain the shipiment providorstringTrue-
serviceThis should contain the shipiment servicestringTrue-
descriptionThis should contain description of the shipmentstringFalse-
1.4.0-beta

1 month ago

0.1.53-development

4 months ago

2.1.0

4 months ago

0.1.54-development

4 months ago

2.0.0

4 months ago

1.3.0-beta

4 months ago

0.1.51-development

4 months ago

0.1.50-development

4 months ago

0.1.52-development

4 months ago

0.1.15-staging

4 months ago

0.1.16-staging

4 months ago

0.1.48-development

4 months ago

0.1.49-development

4 months ago

1.1.1

4 months ago

0.1.14-staging

5 months ago

1.2.0-beta

5 months ago

0.1.46-development

5 months ago

0.1.47-development

5 months ago

0.1.45-development

5 months ago

0.1.13-staging

5 months ago

0.1.12-staging

5 months ago

0.1.44-development

5 months ago

0.1.43-development

5 months ago

0.1.42-development

6 months ago

0.1.41-development

6 months ago

0.1.40-development

6 months ago

1.1.2-beta

8 months ago

1.1.0

7 months ago

1.0.12

7 months ago

0.1.10-staging

8 months ago

0.1.9-staging

8 months ago

0.1.38-development

8 months ago

0.1.37-development

9 months ago

1.0.24-beta

1 year ago

0.1.36-development

11 months ago

0.1.7-staging

1 year ago

1.0.25-beta

1 year ago

1.1.1-beta

11 months ago

1.0.26-beta

1 year ago

1.1.0-beta

11 months ago

0.1.8-staging

11 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

0.1.6-staging

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.21-beta

1 year ago

0.1.3-staging

1 year ago

0.1.4-staging

1 year ago

1.0.19-beta

1 year ago

1.0.20-beta

1 year ago

1.0.18-beta

1 year ago

0.1.2-staging

1 year ago

1.0.17-beta

1 year ago

1.0.16-beta

1 year ago

0.0.1

1 year ago

1.0.15-beta

2 years ago

1.0.14-beta

2 years ago

0.1.0-staging

2 years ago

1.0.13-beta

2 years ago

0.1.1-staging

2 years ago

1.0.12-beta

2 years ago

0.0.35-staging

2 years ago

0.0.31-staging

2 years ago

1.0.11-beta

2 years ago

0.0.34-staging

2 years ago

0.0.32-staging

2 years ago

1.0.10-beta

2 years ago

1.0.9-beta

2 years ago

0.0.30-staging

2 years ago

0.0.33-staging

2 years ago

0.0.26-staging

2 years ago

0.0.23-staging

2 years ago

1.0.4-beta

2 years ago

0.0.25-staging

2 years ago

0.0.29-staging

2 years ago

0.0.22-staging

2 years ago

1.0.1-beta

2 years ago

1.0.6-beta

2 years ago

0.0.24-staging

2 years ago

0.0.28-staging

2 years ago

1.0.8-beta

2 years ago

1.0.5-beta

2 years ago

0.0.27-staging

2 years ago

0.0.14-staging

2 years ago

0.0.21-staging

2 years ago

0.0.19-staging

2 years ago

0.0.17-staging

2 years ago

0.0.13-staging

2 years ago

0.0.15-staging

2 years ago

0.0.13-beta

2 years ago

0.0.18-staging

2 years ago

0.0.16-staging

2 years ago

1.0.0-beta

2 years ago

0.0.20-staging

2 years ago

0.0.12-beta

2 years ago

0.0.12-staging

2 years ago

0.0.11-beta

2 years ago

0.0.11-staging

2 years ago

0.0.10-beta

2 years ago

0.0.10-staging

2 years ago

0.0.9-beta

2 years ago

0.0.8-beta

2 years ago

0.0.8-staging

2 years ago

0.0.7-staging

2 years ago

0.0.6-beta

2 years ago

0.0.3-beta

2 years ago

0.0.6-staging

2 years ago

0.0.2-beta

2 years ago

0.0.4-staging

2 years ago

0.0.3-staging

2 years ago

0.0.1-beta

2 years ago

0.0.2-staging

2 years ago