This file contains hidden or 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
| quickReplies.push({ | |
| "content_type": "text", | |
| "title": "Next", | |
| "payload": "nextslice_5_10" | |
| }); |
This file contains hidden or 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
| /** | |
| * Handle messages received by bot server | |
| * | |
| */ | |
| 'use strict'; | |
| // Assume you have these functions defined and exported in your project folder | |
| const sendTextMessage = require('../actions/sendTextMsg'); | |
| const sendButtonMsg = require('../actions/sendButtonMsg'); |
This file contains hidden or 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
| /** | |
| * Handle postbacks received by bot server | |
| * | |
| */ | |
| 'use strict'; | |
| // Assume you have these functions defined and exported in your project folder | |
| const sendTextMessage = require('../actions/sendTextMsg'); | |
| const processMobilemoney = require('./process-mobilemoney-gh'); |
This file contains hidden or 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
| /** | |
| * Process mobile money payments using Mazzuma API | |
| * | |
| */ | |
| 'use strict'; | |
| const request = require('request'); | |
| const sendTextMessage = require('../actions/sendTextMsg'); |
This file contains hidden or 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
| /** | |
| * Handle card payment using Flutterwave API | |
| * | |
| */ | |
| 'use strict'; | |
| const express = require('express'); | |
| const router = express.Router(); | |
| const request = require('request'); |
This file contains hidden or 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
| <html lang="en"> | |
| <head> | |
| <title>Card payment</title> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" | |
| crossorigin="anonymous"> > | |
| <meta name="viewport" , content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1"> | |
| <style> |
This file contains hidden or 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
| /** | |
| * Handle messages received by bot server | |
| * | |
| */ | |
| 'use strict'; | |
| // Assume you have these functions defined and exported in your project folder | |
| const sendTextMessage = require('../actions/sendTextMsg'); | |
| const sendButtonMsg = require('../actions/sendButtonMsg'); |
This file contains hidden or 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
| 'use strict'; | |
| class BlogApp extends React.Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = { | |
| blogPost: {} | |
| }; | |
| } |
This file contains hidden or 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
| 'use strict'; | |
| const Header = props => { | |
| return ( | |
| <header> | |
| <nav className="navbar navbar-expand-md navbar-dark fixed-top bg-dark"> | |
| <a className="navbar-brand" href="#">My Blog</a> | |
| </nav> | |
| </header> | |
| ) |
This file contains hidden or 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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <!-- Required meta tags --> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
| <!-- Bootstrap CSS --> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" |