#driesvints
1 messages · Page 1 of 1 (latest)
Hi 👋 Link is a type of payment method, rather than being a mechanism that wraps other payment methods.
It does allow multiple types of funding sources sometimes, and there are hopes/plans to expand that further.
Do you have more context on what you mean when you say "Link payments [are] not working with Laravel Spark"?
I'm also not familiar with what Laravel Spark is, is that a third-party abstraction of our service? If so, do you know if it supports Link payments?
@tulip night hmm I don't think that's entirely true. I just tried checking out with a card through Link and it shows as a "card" type, not a "link" type.
This is the object I retrieved from invoice_settings.default_payment_method
Link payments [are] not working with Laravel Spark
I guess I need a way to reproduce a "link" payment method. Right now, using a card through link gives me a "card" payment method"
Laravel Spark is a SaaS billing portal for Laravel apps which we maintain. We have a long standing partnership with Stripe. Paul Asjes was our direct contact before he left Stripe.
We currently do not support Link payments but I'm trying to get that in.
Sorry, I thought you were just using Laravel Spark, not building it, we'll need to take a step back and understand how that works. Are you using a Connect flow to offer your service?
Link is still being built and rolled out, so some accounts may see it in different forms. So I need to understand whether you're working from one account consistently, or if your code is planning to be able to handle a variety of account settings.
Then for your account it sounds like Link is represented as card payment methods, so what is the problem that you're seeing trying to process those payments?
I guess we should maybe limit out checkout settings to just cards...
Do you have examples you can share?
@tulip night I'm thinking that people have "link" enabled on their account which in term allows their customers to use different payment methods which spark doesn't supports
Wait, you said a billing integration, is that from your Stripe account?
I think we're gonna roll with https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_types and set that to card only
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
No spark is PHP based. It's a package for Laravel
if we add "link" and "card" in https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_types then technically link cannot offer any other payment method than CC right?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Nope, that's not a safe assumption to make
It's account dependent
So Link allows for other payment methods even though you haven't enabled those in your dashboard?
Link allows for multiple types of funding sources (I explicitly say funding sources to try to break the correlation between them and the concept of other payment method types)