#village-checkout-php
1 messages · Page 1 of 1 (latest)
If you use Checkout, you need server-side code.
But we have another product called Payment Links that redirects to Checkout with a direct link otherwise: https://stripe.com/docs/payments/payment-links
With links, do i have to present the link to the customer, or can it be a button on my store page they click which sends them to checkout page?
you can do a button that redirects to Checkout with that link yes!
With links im not able to pass any variables like a customer id?
Which stripe product is going to get me closest to paypal style API integration?
Checkout but that requires server-side code
I don't mind coding my own, i would rather avoid installing a framework when i can just pass the data needed. Can i build my own post to forward customer to a checkout page?
you really want to take the time to read our main doc for Checkout it's really easy if you can write the code yourself: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout
But that still requires a frame work? composer require stripe/stripe-php?
Do you know what i mean by "paypal style"? Does stripe offer this simplicity? Or is it required to have this additional framework bloat? Im cautious about installing 3rd party code when it's not technically needed.
well I don't call that a "framework" that's just our library for our API. There's no "bloat" that's how most libraries work. The alternative is writing the raw curl calls yourself which is net worse
That is what im hoping to do, create my own raw url which i use to forward the customer to the stripe checkout. That url would contain all the info needed like my account number, auth token, which product the customer is buying, their meta data, etc.
This is how paypal does it incase you were not familiar with what im trying to describe.
yeah we just don't plan to support this, it comes with its own risks/limitation
if you can just add &customer=cus_123 then anyone can change this for example so we don't do it the same way
Okay, thanks, im done with this session. You can close/delete.