payment Card first 4 payments inc. mails
This commit is contained in:
parent
c20deac3fe
commit
6e3adac4d7
38 changed files with 3063 additions and 921 deletions
|
|
@ -28,6 +28,9 @@ class CreateShoppingUsersTable extends Migration
|
|||
$table->string('billing_phone')->nullable();
|
||||
$table->string('billing_email')->nullable();
|
||||
|
||||
|
||||
$table->boolean('accepted_data_checkbox')->default(false);
|
||||
|
||||
$table->boolean('same_as_billing')->default(true);
|
||||
|
||||
$table->char('shipping_salutation', 2)->nullable();
|
||||
|
|
|
|||
|
|
@ -29,6 +29,10 @@ class CreateShoppingOrdersTable extends Migration
|
|||
|
||||
$table->unsignedInteger('weight')->nullable();
|
||||
|
||||
$table->boolean('paid')->default(false);
|
||||
$table->string('txaction', 20)->nullable()->index();
|
||||
|
||||
|
||||
$table->timestamps();
|
||||
|
||||
$table->foreign('shopping_user_id')
|
||||
|
|
|
|||
|
|
@ -17,12 +17,12 @@ class CreateShoppingOrderItemsTable extends Migration
|
|||
$table->increments('id');
|
||||
|
||||
$table->unsignedInteger('shopping_order_id');
|
||||
$table->string('row_id', 40)->nullable();
|
||||
$table->unsignedInteger('product_id');
|
||||
$table->unsignedInteger('qty');
|
||||
$table->decimal('price', 8, 2)->nullable();
|
||||
$table->string('slug')->nullable();
|
||||
|
||||
$table->boolean('paid')->default(false);
|
||||
|
||||
$table->timestamps();
|
||||
|
||||
$table->foreign('shopping_order_id')
|
||||
|
|
|
|||
|
|
@ -22,10 +22,12 @@ class CreateShoppingPaymentsTable extends Migration
|
|||
$table->string('wallettype', 3)->nullable();
|
||||
$table->string('onlinebanktransfertype',3)->nullable();
|
||||
|
||||
$table->string('reference', 20);
|
||||
$table->string('reference', 16);
|
||||
$table->unsignedInteger('amount');
|
||||
$table->string('currency', 6);
|
||||
|
||||
$table->string('status', 10)->nullable()->index();
|
||||
$table->string('txaction', 20)->nullable()->index();
|
||||
|
||||
$table->timestamps();
|
||||
|
||||
|
|
|
|||
|
|
@ -22,17 +22,17 @@ class CreatePaymentTransactionsTable extends Migration
|
|||
$table->unsignedInteger('txid');
|
||||
$table->unsignedInteger('userid');
|
||||
|
||||
$table->string('status',20)->nullable();;
|
||||
$table->string('status',20)->nullable();
|
||||
|
||||
|
||||
$table->string('key',40)->nullable();;
|
||||
$table->string('txaction',20)->nullable();;
|
||||
$table->string('key',40)->nullable();
|
||||
$table->string('txaction',20)->nullable();
|
||||
|
||||
$table->text('transmitted_data')->nullable();;
|
||||
$table->text('transmitted_data')->nullable();
|
||||
|
||||
$table->unsignedInteger('errorcode')->nullable();;
|
||||
$table->string('errormessage')->nullable();;
|
||||
$table->string('customermessage')->nullable();;
|
||||
$table->unsignedInteger('errorcode')->nullable();
|
||||
$table->string('errormessage')->nullable();
|
||||
$table->string('customermessage')->nullable();
|
||||
|
||||
|
||||
$table->timestamps();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue