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
import 'package:flutter_stripe/flutter_stripe.dart'; | |
// Initialize Stripe: Either in main or another file | |
Stripe.publishableKey = "YOUR KEY HERE"; | |
Stripe.merchantIdentifier = "MERCHANT ID HERE"; | |
// Stripe file, for payments | |
class StripePayments { | |
String itemDesc = ""; |
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
import React, { useState, useEffect } from 'react' | |
import Swipe from 'react-easy-swipe'; | |
import CarouselItem from './carouseltem' | |
import { AiOutlineLeft, AiOutlineRight } from "react-icons/ai"; | |
const CarouselData = [ | |
{ | |
image: | |
"https://images.unsplash.com/photo-1546768292-fb12f6c92568?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80", |
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> | |
<meta charset="UTF-8"> | |
<title>CodePen - Simple 404 Page</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Lato:100,300'><link rel="stylesheet" href="./style.css"> | |
<style> | |
*{ | |
transition: all 0.6s; |
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
<?php | |
// THere must be a folder called libraries which contains the folder paynow | |
// The paynow folder contains paynow sdk | |
require_once '../libraries/paynow/autoloader.php'; | |
function detectWalletName($phone_number){ | |
// Detect wallet name |
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
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Auth; | |
use \Paynow\Payments\Paynow; | |
use Illuminate\Support\Facades\Validator; | |
use Illuminate\Support\Facades\Log; |