Skip to content

Child discount codes throwing a code already used error only when checking out with PayPal Express #20

@MaryOJob

Description

@MaryOJob

I could recreate consistently, and confirm it is only happening after PayPal Express checkouts

Steps to recreate

  1. Enabled Checkout with PPE
  2. Activate Group Discount Code Add On
  3. Create Child Codes
  4. Checkout with PPE, error saying discount code has been used persists
  5. Code count indicates it has been used, but order does not get completed, stays in token, and user does not get level
  6. This is happening even when the Extra Step after checkout is set to skipped

Turned on debug log, no errors captured there or via IPN Log, I see no errors

Image

Isolating the problem (mark completed items with an [x]):

  • I have deactivated other plugins and confirmed this bug occurs when only Paid Memberships Pro and Paid Memberships Pro - Group Discount Codes is active.
  • This bug happens with a default WordPress theme active, or Memberlite.
  • I can reproduce this bug consistently using the steps above.

WordPress Environment

Details ``` WordPress 6.9 Twenty Twenty Theme 3.0 PMPro 3.6.2 PMPro Group Discount Code Add On 0.5 PHP 8.3.28 ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions