manishkatyan / strapi-stripe

Stripe Plugin for Strapi CMS
67 stars 33 forks source link

Payment data is not being recorded #21

Closed NEVI0 closed 2 years ago

NEVI0 commented 2 years ago

I implemented the strapi-stripe plugin like the documentation says and I realized that the transactions were not being recorded. I can only see in the Stripe dashboard in the tab Payments, but not in the Stripe CMS.

Is there any rule that I need to follow to register automatically the paymente data after some client buy a product?

package.json file of the CMS:

{
  "name": "my-name",
  "private": true,
  "version": "0.1.0",
  "description": "my-description",
  "scripts": {
    "develop": "strapi develop",
    "start": "NODE_ENV=production node server.js",
    "build": "strapi build",
    "strapi": "strapi"
  },
  "devDependencies": {
    "rimraf": "^3.0.2"
  },
  "dependencies": {
    "@strapi/admin": "4.1.12",
    "@strapi/plugin-content-manager": "^4.1.12",
    "@strapi/plugin-i18n": "4.1.12",
    "@strapi/plugin-users-permissions": "4.1.12",
    "@strapi/provider-email-nodemailer": "^4.1.12",
    "@strapi/strapi": "4.1.12",
    "@strapi/utils": "4.1.12",
    "better-sqlite3": "7.4.6",
    "pg": "8.6.0",
    "pg-connection-string": "^2.5.0",
    "sharp": "^0.30.4",
    "strapi-plugin-magic": "^0.9.0",
    "strapi-stripe": "^1.9.0"
  },
  "author": {
    "name": "the-author"
  },
  "strapi": {
    "uuid": "..."
  },
  "engines": {
    "node": ">=12.x.x <=16.x.x",
    "npm": ">=6.0.0"
  },
  "license": "MIT"
}

My CMS image: strapi

NEVI0 commented 2 years ago

I have already discovered what a did wrong. I just forgot to implement some code :sweat_smile:.