Git Product home page Git Product logo

Comments (6)

omarxp avatar omarxp commented on July 21, 2024

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.

bimbimprasetyoafif avatar bimbimprasetyoafif commented on July 21, 2024

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.

omarxp avatar omarxp commented on July 21, 2024

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.

bimbimprasetyoafif avatar bimbimprasetyoafif commented on July 21, 2024

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.

omarxp avatar omarxp commented on July 21, 2024

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.

rizdaprasetya avatar rizdaprasetya commented on July 21, 2024

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)

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.