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

being able to create payment intent via API #182

Open
loicginoux opened this issue Feb 22, 2023 · 1 comment
Open

being able to create payment intent via API #182

loicginoux opened this issue Feb 22, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@loicginoux
Copy link
Contributor

Desired Behavior

I understand that the priority is to have a payment flow working with the starter front. In order to support more cases, it would be good to also be able to create a payment intent for to a given order via API.
This would allow API clients (custom front ends, mobile apps) to use this endpoint.
suggesting a SolidusStripe::Api::IntentsController#create via the http route POST /api/orders/XXXX/stripe_intents

blocked by #154
related to #173

Current Behavior

For reference, the current payment intent creation is done in a view as said in this comment.

Additional notes

In order to support mobile apps, an ephemeral key may be created as described here

@loicginoux loicginoux added the enhancement New feature or request label Feb 22, 2023
@elia
Copy link
Member

elia commented Mar 7, 2023

Yes, the focus is now on the starter frontend, but by the end of this we'll have the building blocks that will make adding an api controller really straightforward.

@elia elia added this to the v5 milestone Mar 8, 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