Giter Site home page Giter Site logo

import os from dotenv import load_dotenv from telebirrweb import TelebirrWeb from utils import generate_unique

load_dotenv()

telebirrAppID = os.environ.get("TelebirrAppID") telebirrAppKey = os.environ.get("TelebirrAppKey") telebirrShortCode = os.environ.get("TelebirrShortCode") telebirrPublicKey = os.environ.get("TelebirrPublicKey") receiveName = "Test"

tele = TelebirrWeb(telebirrAppID, telebirrAppKey, telebirrShortCode, telebirrPublicKey, receiveName) subject = "Payment" totalAmount = 10 nonce = generate_unique([], 32) outTradeNo = generate_unique([], 32) notifyUrl = "https://example.com/" returnUrl = "https://example.com/"

response = tele.send_request(subject, totalAmount, nonce, outTradeNo, notifyUrl, returnUrl) print(response)

eyuel01's Projects

bindplane-agent icon bindplane-agent

observIQ’s distribution of the OpenTelemetry collector providing a simple and unified solution to collect, refine, and ship telemetry data anywhere

bootstrap icon bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.

documentation icon documentation

Documentation for the npm registry, website, and command-line interface.

eyuel01 icon eyuel01

Config files for my GitHub profile.

fedcm icon fedcm

A privacy preserving identity exchange Web API

npm icon npm

This repository is moving to: https://github.com/npm/cli

spec icon spec

CloudEvents Specification

telebirrjs icon telebirrjs

hustle free telebirr integration package for node

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.