GithubHelp home page GithubHelp logo

grav-plugin-stripe-checkout's People

Contributors

ricardo118 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hdwebpros

grav-plugin-stripe-checkout's Issues

error stripe no such sku

Hello

i'm doing some tests with your plugin, but had some js error Uncaught (in promise) Integration Error: No such sku: 'prod_IQ2sIKQ2ygGxBj'
In the stripe dashboard, i create a product in test mode and also in prod mod. But i'm very confuse about sku, here's the stripe response :

{
  "id": "prod_IQ2sIKQ2ygGxBj",
  "object": "product",
  "active": true,
  "attributes": [
  ],
  "created": 1605790992,
  "description": "Description",
  "images": [
    "https://files.stripe.com/links/fl_test_T0aFWTnW7klOP0X7VOJ4Wfrm"
  ],
  "livemode": true,
  "metadata": {
    "Black": "0",
    "Red": "0",
    "Orange": "0"
  },
  "name": "Test Produit",
  "owning_merchant": "xxxxxxx",
  "owning_merchant_info": "xxxxxxx",
  "skus": {
    "object": "list",
    "data": [
    ],
    "has_more": false,
    "total_count": 0,
    "url": "/v1/skus?product=prod_IQ2sIKQ2ygGxBj&active=true"
  },
  "statement_descriptor": null,
  "type": "service",
  "unit_label": "Unité",
  "updated": 1605792335
}

I thought SKU was ID, in my case prod_IQ2sIKQ2ygGxBj so i put that in my product md. then js console add Uncaught (in promise) Integration Error: No such sku: 'prod_IQ2sIKQ2ygGxBj'

Do you have an idea of what i'm missing ?

Thanks

Add to cart without a cart

The plugin requires the add-to-card button before the checkout ... but there is no card? So it's not possible to see how many products are in the cart. Or do I miss something? Is there a way to implant a cart-view?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.