Other payment methods in Cashier (SEPA / iDeal)

Published 4 months ago by falko100

Hi,

I am working from the Netherlands and Spark seems to me to be one of the best platforms for starting a SaaS project that I got for a client. One of his requirements is the use of iDeal and SEPA payments though (Dutch / European methods). I was wondering if it would be possible / easy to include these payment methods in Laravel Cashier. (They are both supplied by Stripe)

Anyone have experience with this or other tips?

Thanks for your time!

Best Answer (As Selected By falko100)
bashy

Pretty much just create a source and send that with the payment https://stripe.com/docs/sources/ideal

bashy
bashy
4 months ago (1,001,160 XP)

Pretty much just create a source and send that with the payment https://stripe.com/docs/sources/ideal

falko100

Awesome thanks. I was unaware of this feature in Cashier.

bashy
bashy
4 months ago (1,001,160 XP)

Yeah you'll have to do a bit of manual creating of a source but just pass the generated token to Cashier ->charge() and it should work like normal.

falko100

I purchased a Spark license :) will be trying to build this. Thanks for the advise!

falko100

Trying to implement this now. Keep getting the following error when trying to create a Stripe source when doing: Stripe.createSource(this.ibanElement, sourceData)

Uncaught (in promise) Error: We could not retrieve data from the specified Element.
              Please make sure the Element you are attempting to use is still mounted.
    at new t ((index):1)
    at e._handleMessage ((index):1)
    at e.<anonymous> ((index):1)
    at (index):1

Any tips on where I could find a solution ?

bashy
bashy
3 months ago (1,001,160 XP)

I'm not great with JS, sorry.

falko100

Found the solution :) thanks for replying tho.

I intialised the object twice, but the element doesn't get rerendered.So the instance of my IBAN object wasn't the instance I send towards the Stripe server :)

Angelluc

Hi @falko100 ,

I am from the Netherlands and also like to know how this works for my own project. I am more a beginner in Laravel so need some more explanation. Can you provide an extended explanation? Or can I reach you in one way or another? Don't see that possibility here.

Best, Luc

Please sign in or create an account to participate in this conversation.