#luca-baldassarri_error

1 messages ¡ Page 1 of 1 (latest)

glass ospreyBOT
#

👋 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.

rich wind
#

Hello there

vapid bronze
#

Hi, we are unable to initiate a recurring payment via sepa

rich wind
#

The error message seems to indicate the problem, no?

#

You aren't passing in any line_items with a recurring Price?

vapid bronze
#

Even if I pass the field you tell me (line_items), I still get the same problem

#

returns the same error message

rich wind
#

Can you share the request ID associated with the error?

vapid bronze
#

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}

rich wind
#

I need the request ID to help you

vapid bronze
#

this is the request ID: req_vqRJfHpaa611IH

rich wind
#

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

vapid bronze
#

OK, but with mode: subscription, how should Price be configured?

#

how must the price be created to be eligible for recurring payments?

rich wind
#

Where you set the interval