Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stripe Checkout Offsite Flow does not automatically create the site after checkout #31

Open
3 tasks done
MaryOJob opened this issue Aug 6, 2024 · 1 comment
Open
3 tasks done

Comments

@MaryOJob
Copy link

MaryOJob commented Aug 6, 2024

Describe the bug
When the payment flow to checkout offsite is selected with the Stripe gateway, the site details despite being filled at checkout do not automatically create the site the member has paid for. They need to manually go to the "Manage Sites" page to again fill in their site details to create the site they have paid for.

Steps to reproduce the behavior:

  1. Activate PMPro on a Multisite
  2. Activate the Member Network Sites Add On
  3. Generate the Manage Sites page and edit any membership level to include the number of sites a member gets
  4. On the PMPro Gateway Settings page, set Stripe payment flow to happen offsite on Stripe
  5. Complete a checkout on the level, fill in the site details, name and title
  6. See the issue, the site is not automatically created after checkout
  7. Note that the site is created on the network list of sites but not linked to the user who checked out offsite at Stripe, creating the site on the "Manage Sites" page after checkout however creates another site and links it to the user correctly

Screenshots
If applicable, please attach a screenshot to make your issue clearer.
Screenshot 2024-08-06 at 12 07 40 PM
Screenshot 2024-08-06 at 12 08 45 PM
Screenshot 2024-08-06 at 12 09 02 PM
Screenshot 2024-08-06 at 12 09 49 PM
Screenshot 2024-08-06 at 12 10 47 PM
Screenshot 2024-08-07 at 12 28 01 PM
Screenshot 2024-08-07 at 12 35 05 PM

Expected behavior
As with the Stripe onsite checkout where the site gets automatically created, the same is expected to occur when the checkout flow is set to Stripe offsite as well.

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

  • I have deactivated other plugins and confirmed this bug occurs when only Paid Memberships Pro plugin and Member Network Sites Add On 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

``` - WordPress version 6.6.1 - PHP version 8.0.30 - Paid Memberships Pro Version 3.1.2 - Member Network Sites Version 0.5.4
</details>
@MaryOJob
Copy link
Author

MaryOJob commented Aug 6, 2024

Moderators Only: #585320

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant