Skip to content

Commit

Permalink
adding config
Browse files Browse the repository at this point in the history
  • Loading branch information
MCris112 committed Apr 2, 2024
1 parent 71b12f1 commit 12d61cb
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions config/billable.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?php

return [
'providers' => [
"mercadopago" => [
"isDevMode" => true,
"name" => "MercadoPago",
"tax" => [
"type" => "percent",
"amount" => 6.0
],
"currencies" => ["PEN"],
"token" => env('BILLABLE_MERCADOPAGO_ACCESS_TOKEN')
],
"paypal" => [
"isDevMode" => true,
"name" => "Paypal",
"tax" => [
"type" => "percent",
"amount" => 6.0
],
"currencies" => ["USD"],
"token" => [
"CLIENT_ID" => env('BILLABLE_PAYPAL_CLIENT_ID'),
"CLIENT_SECRET" => env('BILLABLE_PAYPAL_CLIENT_SECRET')
]
]
],
'table' => [
"prefix" => "cri_",
"users" => "users"
],

'order' => [
'user' => [
/***
*
* How the user relation will show it
* can be as an object [key name] => "Column name"
* 'columns' => [
* "id" => 'id',
* "name" => "name",
* "lastname" => "lastname"
* ]
* or just as an array
* ["id", "name", "lastname", "email"] -> this will use each column as a key name
*
* **/

'columns' => [
"id" => 'id',
"name" => "name",
"lastname" => "lastname",
"email" => "email"
]
]
]
];

0 comments on commit 12d61cb

Please sign in to comment.