stripe-payments-demo icon indicating copy to clipboard operation
stripe-payments-demo copied to clipboard

It seems that SKUs have been deprecated - can this support Prices instead?

Open spsaucier-bakkt opened this issue 5 years ago • 5 comments

Feature request

Is your feature request related to a problem? Please describe.

Stripe support told me that SKUs are from an older version of the API and are not really supported anymore -- they prefer to use various Prices instead.

Describe the solution you'd like

Ideally, this demo would come with Prices supported out of the box.

spsaucier-bakkt avatar Oct 16 '20 17:10 spsaucier-bakkt

I literally just spent 1 week working on the implementation of Products, Sku, and Order, before realizing that Sku and Order were deprecated ...

I don't understand why it is. This is stupid because now we have to create as many product + price as sku.

If we had a product with 10 sku object, we now need to create 10 products each with a Price object. And so we can no longer even manage the stocks, product dimensions, etc.

It's a shame ... and they should indicate it more clearly on Stripe, I wasted a lot of time for nothing

bastien70 avatar Jul 08 '21 17:07 bastien70

I did the same thing, @bastien70. 🤦 These demos from the official Stripe Github need to be clearly marked *DEPRECATED*.

spsaucier-bakkt avatar Jul 08 '21 17:07 spsaucier-bakkt

@spsaucier-bakkt It's really annoying ... So how did you proceed on your side?

Did you keep the SKU objects?

Or have you replaced SKU objects with products?

bastien70 avatar Jul 08 '21 17:07 bastien70

I ditched SKUs in favor of a bunch of products + prices.

spsaucier-bakkt avatar Jul 08 '21 17:07 spsaucier-bakkt

How can we use price object to manager sku? Because this object don`t have attr props for example

gabeirigo avatar Jan 02 '22 00:01 gabeirigo