{"id":21835822,"url":"https://github.com/vtex/payment-mocker","last_synced_at":"2025-04-14T09:15:17.364Z","repository":{"id":52425237,"uuid":"57935870","full_name":"vtex/payment-mocker","owner":"vtex","description":"A boilerplate to develop and test a Payment Method to VTEX Smart Checkout","archived":false,"fork":false,"pushed_at":"2021-04-29T19:31:26.000Z","size":428,"stargazers_count":10,"open_issues_count":2,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-14T09:14:47.665Z","etag":null,"topics":["srv-checkout-ui","xp-shopping"],"latest_commit_sha":null,"homepage":"http://vtex.github.io/payment-mocker/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vtex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-03T02:33:22.000Z","updated_at":"2025-03-11T14:56:36.000Z","dependencies_parsed_at":"2022-08-18T02:55:37.082Z","dependency_job_id":null,"html_url":"https://github.com/vtex/payment-mocker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fpayment-mocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fpayment-mocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fpayment-mocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fpayment-mocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vtex","download_url":"https://codeload.github.com/vtex/payment-mocker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248852184,"owners_count":21171842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["srv-checkout-ui","xp-shopping"],"created_at":"2024-11-27T20:25:11.657Z","updated_at":"2025-04-14T09:15:17.336Z","avatar_url":"https://github.com/vtex.png","language":"CSS","readme":"# VTEX Payment Mocker\n\nA boilerplate to develop and test a Payment Method to VTEX Smart Checkout, based on [Pink](https://github.com/augustocb/pink).\n\nWe recommend you read the [Guide to Design a Payment Method to VTEX Smart Checkout](https://docs.google.com/document/d/16JVEF6I5brdUl_zHpE6kUriVKuigycVUNEt20iPyoNI/edit#heading=h.qytoq9cybc2s).\n\nYou can see an example of a Payment Method layout working in [http://vtex.github.io/checkout-payment-ui/](http://vtex.github.io/checkout-payment-ui/).\n\n## Features\n\nThe main features:\n\n*   Local server\n*   Less autocompile\n*   Livereload for any files changes\n*   Base of VTEX Smart Checkout HTML and CSS\n*   Internationalization for 4 idioms: FR, EN, PT-BR and ES\n\n## How it works\n\nWhen you run `grunt`, it starts a server at [http://localhost:8080/](http://localhost:8080/), compiles `style.less` file and begin watching changes in all files inside `assets` folder. Any change will reload the page or just reload css files, in case of style changes.\n\nYou can test your layout creating/modifying:\n\n*   `src/partials/payment.html`: HTML file\n*   `src/assets/css/less/style.less`: style file\n*   `src/assets/img/`: images folder\n*   `src/i18n`: internalization folder\n\n## Dependencies\n\n1.  [Node.js](http://nodejs.org/download)\n2.  Grunt: run `sudo npm i -g grunt-cli`\n3.  [Sass](http://sass-lang.com/install)\n\n## Installation\n\n1.  Download or clone this repo\n2.  Install NPM dependencies: run `npm i`\n\n## Hands on!\n\n### Running\n\n1.  Run `grunt`\n2.  Go to [http://localhost:8080/](http://localhost:8080/)\n\n## Thank you! :)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Fpayment-mocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvtex%2Fpayment-mocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Fpayment-mocker/lists"}