2

Say I build and app, and I setup Cashier with Stripe and everything works fine but I also want to have an option for people making payments differently (say offline, by cheque).

Rather than building a separate system alongside Cashier, I'm thinking of "highjacking" Cashier's table. For example, I'm thinking I could set a subscription name, user_id, trials_ends_at, and ends_at "manually" in the app, without actually filling the other fields. That way I could have some other kind of payments, and still try and leverage Cashier's methods, or create my own, but not duplicate tables.

Is this a bad idea? (Probably.) But is it feasible? Doing so, would I break Cashier's regular utilisation?

Jean-Philippe Murray
  • 1,208
  • 2
  • 12
  • 34
  • Do you think about using a Stripe subscription with 0€ pricing for that kind of offline payments? It is only one idea. – dmoreno May 24 '17 at 08:16
  • @dmoreno I though about it, but not for a long time to be honest. I think that could work, but I'd still need to have the user enter it's CC infos and "deal with" stripe... – Jean-Philippe Murray May 24 '17 at 10:25
  • @Jean-PhilippeMurray How are you?. Did you get any other solution for this? I'm looking for a solution to this. Planning to work with Laravel 6. – Mansoorkhan Cherupuzha May 26 '21 at 13:29
  • @MansoorkhanCherupuzha it's been a while, and that project isn't active anymore, but I *think* I just manually added entries to the "subscription" tables and it worked, granted that I don't try to use other functions that are linked to Stripe directly. – Jean-Philippe Murray May 26 '21 at 14:44

0 Answers0