• We are testing an installment payment feature for a product configured with two $1/day installments. Initially, we tested in Test Mode, but encountered issues:

    • No user confirmation emails were sent.
    • The subscription status appeared as Pending in the user dashboard.

    To troubleshoot, we disabled Test Mode and conducted a test with a real credit card. This time:

    • The user received both an order confirmation email and an account creation email.

    However, we observed the following issues:

    1. User Dashboard Display:
      • Subscription Status: Shows as Pending, which is confusing. In WooCommerce, “Pending” typically indicates a suspended subscription, potentially leading users to believe there’s an issue with their order, even though the card was charged.
      • Renewal Date: Displays as N/A.
      • Subscription Frequency: Correctly shows $1/day (2 total payments).
    2. Admin Dashboard Issue:
      • The purchase appears as if it was made in Test Mode, despite Test Mode being disabled.
    3. Customer Email:
      • The email states the subscription’s End Date as “Ongoing until canceled”, which is misleading for an installment plan with a fixed number of payments.
    4. Customer Dashboard Confusion:
      • Due to WooCommerce Subscriptions being enabled, the customer dashboard shows two subscription tabs. Ideally, since we selected Installments, there should be a clear distinction between Installments and Subscriptions in the dashboard to avoid confusion. We couldn’t find any documentation addressing this issue.

    Screenshots for Reference:

    These issues create a counterintuitive experience for both users and admins, and we need clarification or solutions to ensure proper functionality and user clarity.what is a good support topic title for this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Ben Meredith

    (@benmeredithgmailcom)

    Hey @poancia perhaps I should read before saying “reach back out” to make sure that you haven’t already.

    I’m looking into this issue now, but nearing the end of my day. I will definitely get you a comprehensive reply (to match the comprehensive post here!) tomorrow at the latest. I’ll start by trying to replicate the issues you are seeing, and see if I can.

    Stay tuned.

    Ben Meredith

    (@benmeredithgmailcom)

    First issue: Pending + no emails in Test Mode:
    This is almost certainly due to you having connected to a live Stripe account in live mode. Behind the scenes, what happens behind the scenes when you connect to Stripe is that a webhook is set up to alert the site that one of a few events has taken place. By default, that webhook is set up for Live mode transactions, not test mode. To test a transaction without real money, head over to https://dashboard.stripe.com/test/webhooks and configure a webhook endpoint that matches your live one at https://dashboard.stripe.com/webhooks and that problem should be resolved. (As a note, I noticed that our docs didn’t mention that, and added it to that section before replying here. Thanks for helping me make the docs better!)

    I’m going to run some more thorough tests tomorrow, but I figured I’d go ahead and answer the one I knew right away.

    • This reply was modified 4 months, 1 week ago by Ben Meredith. Reason: typo
    Ben Meredith

    (@benmeredithgmailcom)

    Well, today got away from me, and then when I finally sat down to test this, my test site crashed (unrelated to StellarPay)

    I’ll spin up a new test site tomorrow and give this another go.

    In the meantime, it still sounds like even on live mode something’s not right about those webhooks. Can you confirm that webhooks are set correctly in your Stripe account? That would account for the “pending” displayed to the user, among other weirdnesses.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.