#Joe Slime-products

1 messages · Page 1 of 1 (latest)

pure night
#

Hello! Do you mind sharing the request ID for this error?

kind cradle
#

I believe this is it: req_TBlvI4NwtpQbuo

#

for example, l've got the customer created, l've attached a payment method to the customer. Now l have a product with a one_time price that l'm trying to append to and bill the customer for.

#

l'm able to get subscriptions working the way we want, but not sure how to handle these one time payments.

pure night
#

The reason you're seeing this error is because you're trying to create a Subscription using a one-off price. You can only create a Subscription if at least one of the prices you use is recurring. If you just want to be able to charge your customer for this one_time price you should be using Invoices instead https://stripe.com/docs/invoicing/integration#create-invoice-code

kind cradle
#

but it looks like l want o add invoice items to add the products to the account, and then run create invoice, is that correct?

#

even tho l'm using the PHP SDK not the javascript library

pure night
#

Yes, you'll want to create an Invoice item for your customer, and then create an Invoice for them (which will automatically pull in the invoice item you just created).