imrenagi / go-payment Goto Github PK
View Code? Open in Web Editor NEWPayment Connector for Midtrans and Xendit. Sample site that is using this payment proxy is https://imrenagi.com/donate
License: MIT License
Payment Connector for Midtrans and Xendit. Sample site that is using this payment proxy is https://imrenagi.com/donate
License: MIT License
Xendit already support for QRIS
saat jalankan go run atau menjalankan executable go payment untuk windows tidak dapat berjalan dengan error
message : "error call ke mt"
2023/07/13 14:09:57 http: panic serving 127.0.0.1:58616: time: missing Location in call to Time.In goroutine 42 [running]: net/http.(*conn).serve.func1() /usr/local/go/src/net/http/server.go:1854 +0xbf panic({0x121dce0, 0x1434d00}) /usr/local/go/src/runtime/panic.go:890 +0x263 time.Time.In(...) /usr/local/go/src/time/time.go:1146 github.com/imrenagi/go-payment/gateway/midtrans/snap.(*builder).setExpiration(0xc0000ca1f0, 0xc0000a23c0) /home/rie_zel/jenkins/src/62-goldfish/gateway/midtrans/snap/builder.go:122 +0x2d1 github.com/imrenagi/go-payment/gateway/midtrans/snap.newBuilder(0xc0000a23c0) /home/rie_zel/jenkins/src/62-goldfish/gateway/midtrans/snap/builder.go:36 +0x2f1 github.com/imrenagi/go-payment/gateway/midtrans/snap.NewBCAVA(0xc00062c600?) /home/rie_zel/jenkins/src/62-goldfish/gateway/midtrans/snap/bca.go:10 +0x1d github.com/imrenagi/go-payment/gateway/midtrans.NewSnapFromInvoice(0x143c5c0?) /home/rie_zel/jenkins/src/62-goldfish/gateway/midtrans/facade.go:18 +0x99 github.com/imrenagi/go-payment/manage.midtransCharger.Create({0xc000638f40?}, {0x143e3d8?, 0xc00040a2a0?}, 0xc0000a23c0) /home/rie_zel/jenkins/src/62-goldfish/manage/charger.go:33 +0x3a5 github.com/imrenagi/go-payment/invoice.(*Invoice).CreateChargeRequest(0xc0000a23c0, {0x143e3d8?, 0xc00040a2a0?}, {0x143a8d8, 0xc0000ca1e8}) /home/rie_zel/jenkins/src/62-goldfish/invoice/invoice.go:197 +0x46 github.com/imrenagi/go-payment/manage.(*Manager).GenerateInvoice(0xc0000f4090, {0x143e3d8, 0xc00040a2a0}, 0xc000152000) /home/rie_zel/jenkins/src/62-goldfish/manage/manager.go:230 +0x11cf github.com/imrenagi/go-payment/server.Server.CreateInvoiceHandler.func1({0x143dd00, 0xc000628000}, 0xc000498300) /home/rie_zel/jenkins/src/62-goldfish/server/server.go:87 +0x114 net/http.HandlerFunc.ServeHTTP(0xc000498200?, {0x143dd00?, 0xc000628000?}, 0x26ae93a0301?) /usr/local/go/src/net/http/server.go:2122 +0x2f github.com/gorilla/mux.(*Router).ServeHTTP(0xc00010c300, {0x143dd00, 0xc000628000}, 0xc000498100) /home/rie_zel/go/pkg/mod/github.com/gorilla/[email protected]/mux.go:210 +0x1cf github.com/rs/cors.(*Cors).Handler.func1({0x143dd00, 0xc000628000}, 0xc000498100) /home/rie_zel/go/pkg/mod/github.com/rs/[email protected]/cors.go:219 +0x1bd net/http.HandlerFunc.ServeHTTP(0x0?, {0x143dd00?, 0xc000628000?}, 0x10aa494?) /usr/local/go/src/net/http/server.go:2122 +0x2f net/http.serverHandler.ServeHTTP({0x143bd78?}, {0x143dd00, 0xc000628000}, 0xc000498100) /usr/local/go/src/net/http/server.go:2936 +0x316 net/http.(*conn).serve(0xc0000f4360, {0x143e3d8, 0xc000328420}) /usr/local/go/src/net/http/server.go:1995 +0x612 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:3089 +0x5ed
payment
Based on this reply, https://twitter.com/Midtrans_com/status/1265119689652355073?s=20
need to update the docs
User should be able to pause its subscription
https://snap-docs.midtrans.com/#two-clicks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.