GithubHelp home page GithubHelp logo

xseman / bysquare Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 4.0 1.41 MB

Encode & Decode "PAY by square" QR string.

Home Page: https://xseman.github.io/bysquare/

License: Apache License 2.0

TypeScript 90.12% JavaScript 9.88%
banking bysquare cli paybysquare payment qr-code qr-string qr-string-generaor

bysquare's Introduction

Hello, Friend 👋

I'm hobbyist and researcher interested in software development with focus on
simplicity, clarity, and frugality. I try to delete more code than I write.

The more I read, the more I acquire, the more certain I am that I know nothing.
― Voltaire

Favourite quotes...

Languages & Tools 🔨

The main goal is absolute freedom to use any platform. Try to avoid lock-in at all cost

alt alt alt alt alt alt alt alt alt

alt alt alt alt alt alt alt alt alt alt alt alt alt

bysquare's People

Contributors

github-actions[bot] avatar xseman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bysquare's Issues

Unsupported platform

#npm install bysquare

npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"darwin,linux"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS: darwin,linux
npm ERR! notsup Valid Arch: undefined
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64

Why there was set restriction for linux darwin only?

bysquare/package.json

Lines 53 to 56 in 231689e

"os": [
"darwin",
"linux"
]

Last version breaking app

Hello, I used previously lib without issues and generating of QRs was perfect, but since update of version I am getting this error from lib after generate() function.

Here is code(image because code block is not formated properly don't know why):
image

Console:
image

Some QR codes do not work

Hello,
first thank you very much for this work. It helps me a lot.

During testing we have found out that some QR codes do not work and we can't find why. We are testing with several mobile bank apps (broken QR codes do not work for none)

We are using version 1.0.7 with qrcode 1.5.0.

For example (working solution):
"Amount": "28",
"BankAccounts": "1",
"CurrencyCode": "EUR",
"IBAN": "SK12345600000000000123456",
"PaymentNote": "Name A",
"PaymentOptions": "1",
"Payments": "1",
"SpecificSymbol": "4129",
"VariableSymbol": "2268824129"

Not working:
"Amount": "74",
"BankAccounts": "1",
"CurrencyCode": "EUR",
"IBAN": "SK12345600000000000123456",
"PaymentNote": "Name B",
"PaymentOptions": "1",
"Payments": "1",
"SpecificSymbol": "4129",
"VariableSymbol": "2268824129"

I am open to testing just let me know. Due to privacy reason I am not sharing whole information.

Unable to decode data from qrcodes on page https://bsqr.co/generator/?from=product_page

0004G0005ES17OQ09C98Q7ME34TCR3V71LVKD2AE6EGHKR82DKS5NBJ3331VUFQIV0JGMR743UJCKSAKEM9QGVVVOIVH000 [UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "Checksum conflict".] { code: 'ERR_UNHANDLED_REJECTION' }

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.