Thanks.
When I changed the code, the error content changed.
「Error creating subscription for customer. Cannot get price. No such product: ‘prod_******’」
In the stripe administration screen, the payment has been completed, but the membership registration has not been completed.