-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
efdff21
commit 60f9237
Showing
8 changed files
with
35 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"presets": ["es2015"] | ||
} | ||
"presets": ["@babel/preset-env"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,6 @@ npm install vue vue-ravepayment --save | |
<template> | ||
<Rave | ||
:is-production="false" | ||
:text="raveBtnText" | ||
style-class="paymentbtn" | ||
:email="email" | ||
:amount="amount" | ||
|
@@ -38,7 +37,7 @@ npm install vue vue-ravepayment --save | |
:callback="callback" | ||
:close="close" | ||
currency="NGN" | ||
></Rave> | ||
><i>Pay Me, My Money</i></Rave> | ||
</template> | ||
<script type="text/javascript"> | ||
import Rave from 'vue-ravepayment'; | ||
|
@@ -48,7 +47,6 @@ export default { | |
}, | ||
data(){ | ||
return{ | ||
raveBtnText: "Pay Me, My Money", | ||
raveKey: "FLWPUBK-xxxxxxxxxxxxxxxx-X", | ||
email: "[email protected]", | ||
amount: 10000 | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,27 +3,20 @@ | |
<head> | ||
<title>Vue RavePayment Example</title> | ||
<meta http-equiv="X-UA-Compatible" content="IE=Edge"> | ||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous"> | ||
<script src="https://unpkg.com/vue/dist/vue.js"></script> | ||
<script src="../dist/rave.min.js"></script> | ||
<style> | ||
body { | ||
font-size: 1em; | ||
font-family: 'Tahoma', sans-serif; | ||
} | ||
|
||
.paymentbtn{ | ||
color: #61DAFB; | ||
width: 250px; | ||
height: 50px; | ||
font-weight: 800; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="app"> | ||
<Rave | ||
:is-production="false" | ||
:text="raveBtnText" | ||
style-class="paymentbtn" | ||
:email="email" | ||
:amount="amount" | ||
|
@@ -32,7 +25,10 @@ | |
:callback="callback" | ||
:close="close" | ||
currency="NGN" | ||
></Rave> | ||
> | ||
<i class="fas fa-money-bill-alt"></i> | ||
Make Payment | ||
</Rave> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
|
@@ -61,7 +57,6 @@ | |
} | ||
}, | ||
data: { | ||
raveBtnText: "Pay Me, My Money", | ||
raveKey: "FLWPUBK-c59ee426f4c86db0eef5d6514cd2b187-X", | ||
email: "[email protected]", | ||
amount: 10000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.