Stripe automated invoice issue

:bullseye: What is your goal?

i want to automate invoices from stripe I use pay hip for products

:thinking: What is the problem?

my senario cant find customer

:test_tube: What have you tried so far?

chat gbt you tube iv been at this process for days really appreciate help

:camera_with_flash: Screenshots: scenario setup, module configuration, errors


Hello,

Please take a closer look at the 1st photo you attached. Your problem is clearly described:

The statement descriptor cannot include "

So please open the settings of the Create Invoice module and find the field Statement Descriptor. This field cannot send values with " character.

If you are using mapping in this field, consider using the replace function.

Please also take a look here:

As there are other limitations to this field.

A valid statement descriptor (or shortened descriptor) must meet the following requirements:

  • Contains only Latin characters
  • Contains between 5 and 22 characters, inclusive (shortened descriptors are limited to 10 characters)
  • Doesn’t contain any of the following special characters: <, >, , ’ " *
  • Reflects your Doing Business As Name (DBA), URL, or Legal Entity Name

Have a nice day!
Michał

Thank you so so much! Do you know why this is happening

?

Could you please upload the output of the Create a Customer module?
Please remove any confidential information and customer details

Stripe should return a customer ID that begins with the letters cus_.

If you are mapping the customer ID without any additional functions, everything should be working.

In your first screenshot, the mapping looks okay, but the error states that there are additional characters XB09wvkpGL- please check if you are using the correct mapping.

Thanks so much ! The detials here are just my own from test purchase.

link to senario and images requested iv also recieved an email from stripe about webhook error seems theres a further issue​:disappointed_face:

Please check once again your mapping of customer ID in your Create an Invoice module.

Create customer is returning the correct ID (starting with cus_) but the request made by Create an Invoice contains extra characters XB09wvkpGL. So it looks like you manually added some values there.

Why are you getting this email?
You do not have any error handlers set up, meaning any error in your workflow will cause an error code to be sent to the webhook source.

Thanks so much for your patience and assistance !

I seem to have resolved the ID issue and everything is now showing green but the test purchase I did still is not generating an invoice. I changed the collection method from send invoice to charge automatically so could be the issue ? if I put send invoice its causing a lot of issues with due date and what to put in here and days until due as its already paid so not quite sure if I need to change it back what to put here? thanks so much

Iv tried and change to send invoice automatically and this is the output also still not working

Think I have a commit/ finalisation issue as no code here all showing green thanks so much

Hello @Anna_Quinn

Have you been able to resolve the issue?

No still cant see why the amount is showing as 0 so remains unresolved

You mean the amount oninvoice?

yes it’s showing zero in create invoice senario despite being £30 so isnt auto sending one as stripe doesnt for zero

added step to input manually and still not working

are there other actions under the stripe module… more like ‘send an invoice’

No cant

see anything like that but have selected automatically send invoice

I think the issue is with the amount being O and possibly not triggering the finalisation and it being sent