-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Payment Gateway on orders table #35
Comments
Also, maybe a payment methods table would be good. Table details |
There's another project built using Laravel which uses Omnipay for payments, they appear to have done it quite well. From what I can see they have a Payment Gateway table in the DB, as you suggested above. You can have a look here: https://github.com/invoiceninja/invoiceninja Following their approach could be a good idea. |
Yeah, i've gone and looked at invoiceninja. Quite well done. I might use that for my own invoicing system instead of the one i currently pay for. I still can't figure out where it adds the gateway table in the migrations. |
It's a nice platform alright. The DB migrations should be in the /database/migrations directory. I'm on a phone now so can't link it unfortunately. |
Hi @daveearley I haven't quite figured out migrations yet on laravel. I want to start implementing a feature for adding multuiple payment gateways, I feel the first thing that needs to be done is add a payment gateway colum to the orders table. That way when we want to issue a refund using a different payment gateway we can.
Fields i think should be added
payment_gateway - string (default to 'stripe')
payment_reference - string (default to empty) - actually just say trasnaction_id so nevermind this one.
ok so it's just the one column. Any chance you could add the migration for that
The text was updated successfully, but these errors were encountered: