• Resolved Secret Agency

    (@secretagency)


    I don’t have trial periods set up for memberships- there is an initial payment >= $1 and an equal recurring monthly payment. In testing in sandbox mode, Stripe is showing $0 Invoices despite also showing the initial correct payment amount. The invoices aren’t getting generated, so I guess this is not a huge issue, but it is strange and just started happening recently.

    Here is what their support team wrote:

    I recognize that you were not setting up these test subscriptions to have trials. However, looking at the logs, it seems that a “trial_period_days” on the request POST body was requested causing the subscriptions to have trials.

    Request POST body (I x’d any possible PII)
    
    {
    
    "customer": "cus_XXXXXXXXXXXXXX",
    
    "default_payment_method": "pm_XXXXXXXXXXXXXX",
    
    "trial_period_days": "30",
    
    "items": {
    
    "0": {
    
    "price": "price_XXXXXXXXXXXXXX"
    
    }
    
    },
    
    "expand": {
    
    "0": "pending_setup_intent.payment_method"
    
    }
    
    }

    This caused the $0 invoice to be created on the subscription.

    The payments are indeed shown on the payments tab of the dashboard, but the invoices are not generated, which is unusual.  

    Since the subscription and the PaymentIntent are being created by Paid Memberships Pro, I would recommend reaching out to them to check on this behavior.

    If after speaking with Paid Membership Pro, and you are still unable to address the issue, or you get redirected back to Stripe, please contact our support center again

    Any idea what could be causing this?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Jarryd Long

    (@jarryd-long)

    Hi @secretagency , thanks for reaching out to Paid Memberships Pro.

    The subscription showing as a ‘trial’ in Stripe is intentional due to how we create the subscription.

    The “trial” status in Stripe simply means that their first subscription payment has not been billed yet.

    More information on how we integrate with Stripe can be found at https://www.paidmembershipspro.com/stripe-api-integration/

    Thread Starter Secret Agency

    (@secretagency)

    Hi @jarryd-long ,

    Thanks for the prompt reply!

    Just to make sure I am understanding you, are you saying that no matter what, whether a membership has been set up to have a trial period or not, a trial will be created in Stripe? And even though the first payment is billed right away and shown in the payments tab, the $0 invoices (which don’t actually get sent to the customer as far as I know) are just an artifact of the way the API calls are made?

    Thanks again!

    Plugin Support Jarryd Long

    (@jarryd-long)

    That’s correct. Because of how we set up the subscription, it will always show as a ‘trial’ until the first recurring payment is processed. Once processed, the ‘trial’ badge will disappear.

    Thread Starter Secret Agency

    (@secretagency)

    Ah gotcha, thanks!

    Plugin Support Jarryd Long

    (@jarryd-long)

    My pleasure.

    If you’re enjoying Paid Memberships Pro, would you mind rating it 5-stars to help spread the word? https://www.ads-software.com/support/plugin/paid-memberships-pro/reviews/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Stripe showing $0 invoices for trial periods not set up’ is closed to new replies.