Unable to use discount codes and pay w/Stripe ("Product already exists" error)

This topic contains 3 replies, has 2 voices, and was last updated by  TLN 5 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #3079

    TLN
    Buyer
    Post count: 131

    Hi Guys,

    I’m resubmitting this issue as it has been marked “resolved” but it is not.

    When a customer tries to pay using a discount code, they get the following error “Error: The subscription plan in Stripe could not be created, please try again.”

    Looking at the Stripe logs, I can see that the error is “Product already exists”. All I can figure is that your plugin is trying to add the same plan to Stripe, and it already exists.

    At first I thought it was just me having issues in test mode, because I would have to clear the data on Stripe every time before paying with a discount code, but in fact the issue affects everyone. We ended up disabling all discount codes since everyone who tried reported this same problem and error code.

    Here’s complete info and screenshots on this issue:
    https://wpinvoicing.com/support/topic/error-the-subscription-plan-in-stripe-could-not-be-created-please-try-again/page/2/#post-3063

    #3080

    TLN
    Buyer
    Post count: 131

    According to Stripe, the error means the following:

    resource_already_exists:
    A resource with a user-specified ID (e.g., plan or coupon) already exists. Use a different, unique value for id and try again.

    How can this be happening when someone tries to pay using a discount code and it is the first time they are signing up? How can a plan for them already exist if they are new?

    Thanks guys.

    #3082

    Guust
    Moderator
    Post count: 29970

    There is no need to open a duplicate ticket, let’s keep going with the original ticket.

    #3083

    TLN
    Buyer
    Post count: 131
    This reply has been marked as private.
Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket