0.0.0-development • Published 8 days ago

@tap-payments/checkout-v2 v0.0.0-development

Weekly downloads
-
License
MIT
Repository
github
Last release
8 days 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-
0.1.3-staging

1 month ago

0.1.4-staging

1 month ago

1.0.19-beta

1 month ago

1.0.20-beta

1 month ago

1.0.18-beta

2 months ago

0.1.2-staging

2 months ago

0.1.26-development

3 months ago

1.0.17-beta

3 months ago

1.0.16-beta

3 months ago

0.0.1

4 months ago

1.0.15-beta

5 months ago

1.0.14-beta

6 months ago

0.1.12-development

11 months ago

0.1.11-development

11 months ago

0.1.10-development

11 months ago

0.1.14-development

11 months ago

0.1.13-development

11 months ago

0.1.16-development

11 months ago

0.1.15-development

11 months ago

0.1.0-staging

10 months ago

1.0.13-beta

7 months ago

0.1.22-development

10 months ago

0.1.21-development

10 months ago

0.1.25-development

10 months ago

0.1.23-development

10 months ago

0.1.24-development

10 months ago

0.1.1-staging

10 months ago

0.1.20-development

11 months ago

0.1.4-development

11 months ago

0.1.5-development

11 months ago

0.1.1-development

11 months ago

0.1.3-development

11 months ago

0.1.2-development

11 months ago

0.1.0-development

11 months ago

0.1.8-development

11 months ago

0.1.7-development

11 months ago

0.1.6-development

11 months ago

0.1.9-development

11 months ago

1.0.12-beta

11 months ago

0.0.35-staging

11 months ago

0.0.73-development

11 months ago

0.0.72-development

11 months ago

0.0.62-development

12 months ago

0.0.63-development

12 months ago

0.0.31-staging

11 months ago

1.0.11-beta

11 months ago

0.0.66-development

12 months ago

0.0.65-development

12 months ago

0.0.64-development

12 months ago

0.0.69-development

12 months ago

0.0.67-development

12 months ago

0.0.34-staging

11 months ago

0.0.68-development

12 months ago

0.0.71-development

11 months ago

0.0.70-development

11 months ago

0.0.32-staging

11 months ago

1.0.10-beta

11 months ago

1.0.9-beta

11 months ago

0.0.30-staging

12 months ago

0.0.33-staging

11 months ago

0.0.61-development

12 months ago

0.0.60-development

12 months ago

0.0.26-staging

1 year ago

0.0.23-staging

1 year ago

1.0.4-beta

1 year ago

0.0.25-staging

1 year ago

0.0.29-staging

12 months ago

0.0.59-development

12 months ago

0.0.22-staging

1 year ago

1.0.1-beta

1 year ago

0.0.57-development

12 months ago

0.0.58-development

12 months ago

0.0.56-development

12 months ago

1.0.6-beta

1 year ago

0.0.24-staging

1 year ago

0.0.28-staging

1 year ago

1.0.8-beta

1 year ago

1.0.5-beta

1 year ago

0.0.27-staging

1 year ago

0.0.14-staging

1 year ago

0.0.21-staging

1 year ago

0.0.19-staging

1 year ago

0.0.17-staging

1 year ago

0.0.13-staging

1 year ago

0.0.15-staging

1 year ago

0.0.13-beta

1 year ago

0.0.18-staging

1 year ago

0.0.16-staging

1 year ago

1.0.0-beta

1 year ago

0.0.20-staging

1 year ago

0.0.12-beta

1 year ago

0.0.12-staging

1 year ago

0.0.11-beta

1 year ago

0.0.11-staging

1 year ago

0.0.10-beta

1 year ago

0.0.10-staging

1 year ago

0.0.9-beta

1 year ago

0.0.8-beta

1 year ago

0.0.8-staging

1 year ago

0.0.7-staging

1 year ago

0.0.6-beta

1 year ago

0.0.3-beta

1 year ago

0.0.6-staging

1 year ago

0.0.2-beta

1 year ago

0.0.4-staging

1 year ago

0.0.3-staging

1 year ago

0.0.1-beta

1 year ago

0.0.2-staging

1 year ago