diff --git a/README.md b/README.md index 2e4ad34..a1dce28 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ npm install vue vue-ravepayment --save :paymentPlan="plan" :customerFirstname="fname" :customerLastname="lname" + :customerPhoneNumber="phone_number" paymentOptions="card,barter,account,ussd" hostedPayemt="1" customTitle="Testing title" @@ -62,6 +63,7 @@ export default { plan: 2928, fname: "Adewale", lname: "Ayuba", + phone_number: "09000000000", redirect: "https://google.com", meta: [{ metaname: 'school', diff --git a/src/rave.vue b/src/rave.vue index 2d62ccf..8e05edd 100644 --- a/src/rave.vue +++ b/src/rave.vue @@ -60,6 +60,10 @@ export default { type: String, default: '' }, + customerPhoneNumber: { + type: String, + required: true + }, customTitle: { type: String, default: '' @@ -112,6 +116,7 @@ export default { country: this.country, customer_firstname: this.customerFirstname, customer_lastname: this.customerLastname, + customer_phone: this.customerPhoneNumber, custom_title: this.customTitle, custom_logo: this.customLogo, redirect_url: this.redirectUrl,