-
Notifications
You must be signed in to change notification settings - Fork 69
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
WCPay Subscriptions: Admin can create new manual subscriptions from the edit subscription screen #2962
Comments
@james-allan when I purchased a subscriptions product, paid it with wcpay, and edit the billing details of that subscription, I see Also, when I create a subscriptions from admin then choose a user with wcpay saved payment methods, I can already select What needs to be implemented for this issue then? Is it just to change the label from Update: actually, I just realized the shown saved payments the dropdown from the above screenshot are the saved payments of the admin who creates the subscription and not of the selected customer for that to-be-created subscriptions, so that's at least one thing that needs fixing. |
That's the payment method title being used. So if you're WCPayments gateway is titled that, that is what will be displayed. From what I have found, the standard gateway instance has "Credit card / debit card" as its title whereas the UPE gateway has WooCommerce Payments as its title which is why we might be getting different things displayed there.
Taking a step back for a moment. Initially, it was planned that Admin users would be able to create subscriptions manually via the admin interface, and if the customer already had saved payment methods, they would be able to select one and a Stripe billing subscription would be created. This would involve us effectively creating a stripe billing subscription from an existing subscription and to attach the selected payment method as the payment method in Stripe. Given we've been cutting the scope for MVP, we had a fallback approach of allowing admin to create subscriptions but forcing them to be manual renewal. Given what you mentioned about the tokens belonging to the admin users and not the customer, that's even further evidence that we should implement the base case first. So what needs to be done for this issue? When creating a subscription manually, the only available payment method will need to be manual renewal. WooCommerce payments and other gateways will need to be hidden. |
Created #3101 for this bug:
|
@james-allan can you confirm if this is still in scope for MVP? I see it's in |
No longer in MVP. I'll move it off the list. :) |
Hi there. This sprint I won't be working with WC Pay subscriptions so I have to hand off this issue. So far I have done this:
What still needs to be done:
I will still be looking at the PRs I've created to fix or merge them as necessary. |
Thanks the help and the handover @leonardola ! 🏅 |
Adding this to sprint backlog. Note that the scope of this issue is smaller based on comment above from @james-allan:
I've added this to the top of the description 😁 With that in mind, the PRs from @leonardola may not be needed. |
@haszari to my understanding the scope was reduced to fit into MVP. But as it was removed from the MVP we could work on a more complete solution here. That's why my PR move on that direction. But I am ok if that's not the case @james-allan can you confirm this? |
Aha, I see @leonardola ! Let's implement the simpler, base case first. Then we can discuss what to add to scope in future iterations. |
We moved away from prioritising this before shipping v1. I'm going to close this and we can reopen if this becomes a priority. |
Update Based on @james-allan comment, the scope of this issue has been simplified.
old description follows (for context)
Description
When admin create or edit a subscription via admin, only allow them to choose WooCommerce Payments, select a payment method and create WC Pay subscriptions.
Acceptance criteria
Designs
Testing instructions
Creating subscription:
Dev notes
Additional context
The text was updated successfully, but these errors were encountered: