#Germane

1 messages · Page 1 of 1 (latest)

trim tuskBOT
storm jasper
#

Do I need to create a paymentIntent Object aswell to initiate the first payment?
No. Continue following the guide. Create the Subscription with the customerId, you'll have a PaymentIntent created by the Susbcription.

#

Or do I need to manually use the PaymentMethod.attach() on the customer_id before I create the subscriptions object?
No the setupintent will achieve this in the background. Just continue following the guide till the end, step-by-step ?

harsh socket
#

I guess your link clarifies it all.

storm jasper
harsh socket
#

the call to stripe.subscription.create() with all proper id's will initiate the first payment that very moment?

#

Oh yes it does. I'll just read it up. Thanks for the link!

storm jasper
#

Happy to help!

harsh socket
#

Oh one thing, I guess that doc is obsolete a little because of that {betas: ['paypal_pm_beta_1']} right?

#

I'm getting warnings from the stripe API on putting that in.

storm jasper
#

Paypal is in beta

#

That doc is still relevant.

harsh socket
#

but the latest API doesn't like that flag anymore.

storm jasper
#

Are you facing an error or a warning ?

harsh socket
#

A warning

storm jasper
#

can you share what log you are seeing ?

harsh socket
#

`The following betas are unrecognized for Stripe() parameter:

  • paypal_pm_beta_1

They are either invalid or expired betas, please remove these beta flags to prevent future integration issues.`

storm jasper
#

Thanks for sharing, checking...

harsh socket
#

Is it actually possible, to prevent the redirect from stripe.confirmPayPalSetup on the client?
Using the webhook is so much more convenient anyways.

storm jasper
#

You can remove that flag paypal_pm_beta_1

harsh socket
#

So I figured

storm jasper
#

But you can still rely on webhooks

harsh socket
#

Yea. I just don't like the messed up uri with all that data. But nevermind.

noble marlin
#

Hi! I'm taking over from my colleague. Please, let me know if you have any other questions.