Problem with Stripe Session Checkout and Stripe Connect #855
Unanswered
oladejihenry
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I did this
checkout_session = current_user.payment_processor.checkout( mode: 'subscription', locale: I18n.locale, line_items: [{ price: plan.stripe_price_id, quantity: 1 }], subscription_data: { 'application_fee_percent' => 10, metadata: { pay_name: plan.stripe_name, # Optional. Overrides the Pay::Subscription name attribute blog_id: blog.id }, }, success_url: post_show_url(subdomain: blog.name, id: latest_post.id), cancel_url: post_show_url(subdomain: blog.name, id: latest_post.id), stripe_account: blog.stripe_account_id # Specify the connected Stripe account here )
but i get this error
Received unknown parameter: stripe_account
Beta Was this translation helpful? Give feedback.
All reactions