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

Allow admin to create payments using Stripe elements #279

Open
Tracked by #266
rainerdema opened this issue Apr 14, 2023 · 0 comments
Open
Tracked by #266

Allow admin to create payments using Stripe elements #279

rainerdema opened this issue Apr 14, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@rainerdema
Copy link
Contributor

rainerdema commented Apr 14, 2023

Introduction

The goal of this issue is to allow the creation of new admin-side payments using the Solidus Stripe payment method by using the Stripe Elements partial interface (like what we're doing in the frontend-side.

Current Behavior

Currently, admins can only create new payment sources via the frontend and not the backend.

Desired Behavior

To allow the admin to create new payment source, a source form needs to be implemented for the Solidus Stripe Payment Method.
This would allow adding a dedicated Stripe elements form with all the needed adjustments to allow the final Payment Intent authorization.

Possible Problems

We must consider that the specific source_form for a payment method is rendered in the payment step in the admin interface.
This can change the usable scenario for the authorization and confirmation of the payment, implying a different approach from the one used for the frontend-side.

In this specific case, the best solution will probably be to manage the authorization (including next actions like 3DS authorizations) directly in the payment step since there isn't a straightforward way to currently hook into the admin confirm step.

@rainerdema rainerdema changed the title Creation of a new payment by filling in the payment method data Support creating payments from admin with Stripe form Apr 14, 2023
@rainerdema rainerdema changed the title Support creating payments from admin with Stripe form Support creating payments from admin via Stripe form Apr 14, 2023
@rainerdema rainerdema added the enhancement New feature or request label Apr 14, 2023
@rainerdema rainerdema added this to the v5 milestone Apr 14, 2023
@rainerdema rainerdema changed the title Support creating payments from admin via Stripe form Allow admin to create payments using Stripe elements Apr 14, 2023
@elia elia modified the milestones: v5, v5.1 Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants