Git Product home page Git Product logo

qplugin's Introduction

  • 👋 Hi, I’m @biligunb
  • 👀 I’m interested in cloud, ML...
  • 🌱 I’m currently working @ Eindhoven University of Technology (TU/e)
  • 💞️ I’m looking to collaborate on open-source projects
  • 📫 How to reach me bilguunb.ml or @biligunb at all social platforms

qplugin's People

Contributors

bilguunums avatar biligunb avatar boldbaatarg avatar btulga avatar ekhishigee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

qplugin's Issues

Tulbur amjiltgui bolj bna

Холбогдох холболтыг бүрэн хийгээд (Invoice, username, password)
Төлбөр төлөхөд qpay гарч ирээд төлбөр төлөгдөж данснаас хасагдсан боловч

Төлбөр амжилттай төлөгдлөө хэсэг гарч ирэхгүй. 120сек тоологдож дуусаад амжилтгүй гэсэн алдаа зааж байна

woocommerce дэар үүсгэсэн бараа бүтээгдэхүүн. payment pending төлөвт байсаар байна

Энэ алдааг шийдвэрлэж өгнө үү

Баярлалаа

Refactor code

Is your feature request related to a problem? Please describe.

  • All codes are inside qplugin.php. Seperate it !

Folder structure

  • /admin
    • admin facing functions.
  • /public
    • all public facing functions.
  • /include
    • all hooks and dependencies.

qr responsive in mobile view

iphone 11, chrome browser,

  1. Гар утаснаас төлбөр төлөхөд QR харагдахгүй байгаа.
    image
  2. Банк ашиглах товчны даралт хийхэд алдаа гарсан
    image
  3. Хуудасруу буцаад шилжихэд
    image

QPay process payment

Is your feature request related to a problem? Please describe.

  • After QR code is generated & customer will scan QR and pay
    • Payment must be processed
    • Webhook (from Qpay.mn)
      1. Order created
      2. QPay invoice created (with callback_url)
      3. Generate QR code using qPay_shortUrl
        "qPay_shortUrl": "http://qpay.mn/q/?q=000201010212153127940496279404960002231000000615204601053034965402115802MN5912TESTMERCHANT6011Ulaanbaatar6258010712345670518Invoicedescription0721FA-rKHqB4sr2vVTuMBurC6304A102",
        
        • if NOT paid within 2 minutes? CANCEL invoice
      4. Scan & Pay using DeepLink (from QR)
      5. Qpay sends request (webhook) to callback_url
      6. Checks payment and completes order

Invoice үүсэх үед $invoice_due_date буруу бодож байна.

Describe the bug
Timezone 'Asia/Ulaanbaatar' аас ялгаатай үед $invoice_due_date буруу үүсэхээр байна.

Additional context
class-qplugin-wc-payment-gateway.php файл дээр

$dt = new DateTime();
$dt->setTimezone(new DateTimeZone('Asia/Ulaanbaatar'));
$dt->modify('+2 minutes');

$invoice_due_date = $dt->format('Y-m-d H:i:s');

болгож өөрчлөсөн нь зөв байх, одоо байгаа алдаатай код нь

$invoice_due_date = date('Y-m-d H:i:s', strtotime('+2 minutes'));

болно.

QPay create QR code

Is your feature request related to a problem? Please describe.

  • QPay create QR code
    • When checkout -> Place order is clicked new QR code with order amount will be created

Payment confirmation issue

Describe the bug
After paying the payment the count down doesn't stop and it doesn't show failure or success.
It shows pending payment in the back end side

To Reproduce
follow up until 7th step

https://github.com/biligunb/qplugin/wiki/7-Qplugin-%D0%B0%D1%88%D0%B8%D0%B3%D0%BB%D0%B0%D1%85-%D0%B7%D0%B0%D0%B0%D0%B2%D0%B0%D1%80

Expected behavior
Countdown will continue and the pop-up window won't disappear

Screenshots
image

Desktop (please complete the following information):
windows 10
Chrome browser

Payment issue

After checkout under 10₮
image
After checkout greater 10₮
Screen Shot 2022-05-03 at 12 14 24

WooCommerce - Payment gateway

Is your feature request related to a problem? Please describe.

  • Adding payment gateway to WooCommerce - Payments settings

Update workflow gif

Is your feature request related to a problem? Please describe.

  • upload gif that show qplugin workflow in UI
  • update the workflow gif url

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.