#svetidamir
1 messages ยท Page 1 of 1 (latest)
hello! You'd probably want to take a look at this guide : https://stripe.com/docs/elements/express-checkout-element/accept-a-payment
oh I see the paymentIntent was confusing for me. Is it possible to create /create-intent and to put the id of a stripe product instead of price?
no, that's not possible, PaymentIntents don't support a Product/Price id
Okay, I didn't explain everything very good. I will try to summarize what I'm trying to achieve and you can tell me is it possible to do it with stripe ๐
I'm using Stripe to subscribe a user to a Product and make monthly or yearly subscription.
Is it possible to implement the paypal payment in this case? Because if it is possible I need a way to set Product id so it can subscribe the user to it.
Have you considered using Checkout Sessions instead? That might be easier for you to handle
let me just check Checkout Session I will get back to you soon
If you think about this unfortunately I can't use it because of the custom design that is created for it.
just to confirm, is your Stripe account based in the EU?
yes
the company is from Germany and they are able to have paypal payment over Stripe
This is the design I need to achieve and I did it all except I can't add the pay with paypal buton. I can implement the paypal api and there subscriptions but I would love to have it all in one place(stripe) so I don't need to implement one more payment method in the system.
If you need anything else I'm able to provide it.
hrm okay, so PayPal is supported on Subscriptions, you should first ensure you've enabled Paypal for recurring payments in your Dashboard : https://stripe.com/docs/payments/paypal/set-up-future-payments?platform=web&ui=API
cool, but I see I will have to put the price still hardcoded I will not be able to use the product id as for the card payment
you would create a Subscription in Stripe instead
this is the guide you would follow https://stripe.com/docs/payments/accept-a-payment-deferred?platform=web&type=subscription, but at step 3, instead of the Payment Element, you would use the Express Checkout Element instead : https://stripe.com/docs/elements/express-checkout-element/accept-a-payment
you kinda have to combine bits from both guides