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

Checkout Page Code (Question) #386

Open
kmyn opened this issue Nov 21, 2021 · 9 comments
Open

Checkout Page Code (Question) #386

kmyn opened this issue Nov 21, 2021 · 9 comments

Comments

@kmyn
Copy link

kmyn commented Nov 21, 2021

Hi,

When I use the examples provided in this repository and others, after hitting checkout, I get redirected to checkout.stripe.com (below is screenshot) Is the code for this page posted somewhere as I could not find it? I would like to host this page myself with some minor modification -

StripeCheckoutPage

If this is not a right place for this question, could you please point me to the appropriate contact.

Thanks,
Karthik

@cjavilla-stripe
Copy link
Contributor

cjavilla-stripe commented Nov 22, 2021 via email

@kmyn
Copy link
Author

kmyn commented Nov 22, 2021

Hi CJ,

Thanks for the response.

The use case I have is - I need to support additional payment types (specific types of Indian bank transfers) which are not supported by stripe. What I was hoping for is to modify this page in such a way that all stripe supported transactions go through stripe and the rest take a different path.

If the checkout page code was there, it would be easier for me to modify rather than write a whole new page.

Looks like my only option right now is to create a custom page with PaymentElement.

Thanks,
Karthik

@extremeskillz
Copy link

My custom use case is we invoice customers from Quickbooks and after 30days the customer can pay us by a Online Bill Pay form on our site. I would like the customer to hit a custom stripe form in which they fill out the invoice number, amount of the invoice, and fill out their payment info to pay the invoice. I don't see the ability to do that except may a fixed price item in payment links. Is there an option to allow the customer put in a custom amount they are paying?

@cjavilla-stripe
Copy link
Contributor

@extremeskillz no support on a Stripe hosted form for entering custom payment amount, today. I would recommend implementing this by collecting the invoice number and amount to pay on your site, then redirecting to Stripe Checkout to collect payment. You can specify a custom amount to collect using the price_data arguments as part of the Checkout Session line items: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data.

@Abrdjalw
Copy link

git rebase [-i | --interactive] [] [--exec ]
[--onto | --keep-base] [ []]
git rebase [-i | --interactive] [] [--exec ] [--onto ]
--root []
git rebase (--continue | --skip | --abort | --quit | --edit-todo | --show-current-patch)
DESCRIPTION

2 similar comments
@Abrdjalw
Copy link

git rebase [-i | --interactive] [] [--exec ]
[--onto | --keep-base] [ []]
git rebase [-i | --interactive] [] [--exec ] [--onto ]
--root []
git rebase (--continue | --skip | --abort | --quit | --edit-todo | --show-current-patch)
DESCRIPTION

@Abrdjalw
Copy link

git rebase [-i | --interactive] [] [--exec ]
[--onto | --keep-base] [ []]
git rebase [-i | --interactive] [] [--exec ] [--onto ]
--root []
git rebase (--continue | --skip | --abort | --quit | --edit-todo | --show-current-patch)
DESCRIPTION

@Abrdjalw
Copy link

756837

@Abrdjalw
Copy link

Duplicate of #

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

4 participants