Automatic stripe customers; address

This commit is contained in:
Sebastian Rindom committed 2020-07-14 08:10:09 +02:00
1 parent cd989c56a7
commit 44c7177e43
7 files changed
+24 -18

No files matched your search

@@ -4,14 +4,14 @@
import mongoose from "mongoose"
export default new mongoose.Schema({
first_name: { type: String, required: true },
last_name: { type: String, required: true },
address_1: { type: String, required: true },
first_name: { type: String },
last_name: { type: String },
address_1: { type: String },
address_2: { type: String },
city: { type: String, required: true },
country_code: { type: String, required: true },
city: { type: String },
country_code: { type: String },
province: { type: String },
postal_code: { type: String, required: true },
postal_code: { type: String },
phone: { type: String },
metadata: { type: mongoose.Schema.Types.Mixed, default: {} },
})