#luca-baldassarri_error
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1339626691101720688
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- luca-baldassarri_error, 1 day ago, 13 messages
- luca-baldassarri_docs, 2 days ago, 7 messages
Hello there
Hi, we are unable to initiate a recurring payment via sepa
The error message seems to indicate the problem, no?
You aren't passing in any line_items with a recurring Price?
Even if I pass the field you tell me (line_items), I still get the same problem
returns the same error message
for example,this is the request that fail:{"after_expiration":null,"allow_promotion_codes":null,"automatic_tax":null,"billing_address_collection":null,"cancel_url":"https://www.lasersoft.it","client_reference_id":null,"consent_collection":null,"currency":null,"custom_fields":null,"custom_text":null,"customer":null,"customer_creation":null,"customer_email":null,"customer_update":null,"discounts":null,"expires_at":null,"invoice_creation":null,"line_items":[{"adjustable_quantity":null,"dynamic_tax_rates":null,"price":"price_1Qs4dk00QTqxniMIxzqu11rY","price_data":null,"quantity":1,"tax_rates":null}],"locale":null,"metadata":null,"mode":"subscription","payment_intent_data":null,"payment_method_collection":null,"payment_method_configuration":null,"payment_method_data":null,"payment_method_options":null,"payment_method_types":["sepa_debit"],"phone_number_collection":null,"redirect_on_completion":null,"return_url":null,"saved_payment_method_options":null,"setup_intent_data":null,"shipping_address_collection":null,"shipping_options":null,"submit_type":null,"subscription_data":null,"success_url":"https://www.google.com","tax_id_collection":null,"ui_mode":null}
I need the request ID to help you
this is the request ID: req_vqRJfHpaa611IH
Thanks, and did you look at the Price? It is a one-time Price but you are passing mode: subscription
So you either need to create a recurring Price or you need to change to mode: payment
OK, but with mode: subscription, how should Price be configured?
how must the price be created to be eligible for recurring payments?
The Price is created using the recurring hash: https://docs.stripe.com/api/prices/create#create_price-recurring
Where you set the interval