update payments method for subscription

This commit is contained in:
Čarodej
2021-11-30 09:01:47 +01:00
parent 7f0d00017f
commit 69e167a337
5 changed files with 226 additions and 97 deletions
@@ -1,5 +1,5 @@
<template>
<div :class="{'mb-7': !isLast}" class="flex justify-between w-full">
<div :class="{'mb-7': !isLast}" class="flex justify-between space-x-8 w-full">
<!--Label for input-->
<div class="leading-5">
@@ -19,7 +19,7 @@
class="font-bold"
currency="ZAR"
:plan="selectedPlan.data.meta.driver_plan_id.paystack"
:amount="selectedPlan.data.attributes.amount"
:amount="selectedPlan.data.attributes.amount * 100"
:email="user.data.attributes.email"
:paystackkey="config.paystack_public_key"
:reference="reference"