Comments (6)
Hi @bimbimprasetyoafif thanks for reaching out.
please provide a sample order-id, so we can check further.
it's expected, we will add some params when redirect to finish url.
thank you.
from go-midtrans.
Hi @omarxp , thanks for reply
I have done trying so many dummy. Maybe this sample order-id that i used could help you.
B-DUMMY-1304218IKX
from go-midtrans.
Hi @bimbimprasetyoafif
after checking the order-id B-DUMMY-1304218IKX
it uses bca_klikpay as the payment method.
following behavior from bca_klikpay and because redirection directly come from BCA (in production)
it's expected, query param will be ignore
if you need this value => ?foo=123456
you can update finish URL to this => https://example.org/foo-123456
and when using bca_klikpay, please use snap popup instead of snap redirect.
please follow this link, how to use bca_klikpay:
https://support.midtrans.com/hc/en-us/articles/360024549814-What-if-I-want-to-use-BCA-Klikpay-as-a-payment-channel-
https://support.midtrans.com/hc/en-us/articles/115004580573-BCA-KlikPay-Landing-Page-Development-Guideline
thank you.
from go-midtrans.
Thanks for your answer @omarxp
Now I just figured out different between snap popup and snap redirect.
and about update finish url with https://example.org/foo-123456
it become
https://example.org/foo-123456%25!(EXTRA%20string=B-DUMMY-140421DNQI)?order_id=B-DUMMY-140421DNQI&status_code=XXX&transaction_status=XXXXXX
from go-midtrans.
snap popup: snap page will be shown on the merchant's website
snap redirect: redirect to midtrans domain
!(EXTRA%20string=B-DUMMY-140421DNQI)
I guess it about format string, please check the implementation
thank you.
from go-midtrans.
Closed due to inactivity, please reply or submit the question via Midtrans support email if you still have further question. thanks.
from go-midtrans.
Related Issues (18)
- wrong type on BCATransferDetail struct HOT 1
- LICENSE unavailable
- Go Report Card Improvement
- Snap SDK did not return "status_code" HOT 1
- Iris gateway? HOT 2
- Expiry support HOT 2
- Invalid SnapRequest sent by mobile sdk HOT 4
- Mandiri eCash is not found on charge request struct HOT 1
- Installment On Snap HOT 1
- Refund support? HOT 3
- Wrong status_code on Response struct for CoreGateway HOT 2
- Invalid installment struct
- Deny Transaction Method not exist ? HOT 1
- Add payment notification URL feature HOT 1
- No documentation about set custom transaction expired HOT 2
- go-midtrans doesn't work while running inside docker container HOT 2
- Missing channel_status_code and channel_status_message field in CoreGateway Response HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-midtrans.