Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIBS - Multibanco Synchronous workflow #2

Open
apoca opened this issue Mar 18, 2019 · 0 comments
Open

SIBS - Multibanco Synchronous workflow #2

apoca opened this issue Mar 18, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@apoca
Copy link
Owner

apoca commented Mar 18, 2019

Each paymentBrand follows one of two workflows: asynchronous or synchronous. In a synchronous workflow the payment data is sent directly in the server-to-server initial payment request and the payment is processed straight away.

Example:
curl https://test.oppwa.com/v1/payments \ -d "authentication.userId=8a8294185b674555015b7c1928e81736" \ -d "authentication.entityId=8a8294186316c36b016325a4e823400f" \ -d "authentication.password=Rr47eQesdW" \ -d "amount=10.00" \ -d "currency=EUR" \ -d "paymentType=PA" \ -d "paymentBrand=SIBS_MULTIBANCO" \ -d "merchantTransactionId=abc12345" \ -d "customParameters[SIBSMULTIBANCO_PtmntEntty]=21075" \ -d "customParameters[SIBSMULTIBANCO_RefIntlDtTm]=2016-06-06T12:28:32.001+01:00" \ -d "customParameters[SIBSMULTIBANCO_RefLmtDtTm]=2016-06-06T13:28:32.001+01:00" \ -d "customer.ip=123.123.123.123" \ -d "customer.surname=Jones" \ -d "customer.givenName=Jane" \ -d "billing.country=PT" \ -d "shopperResultUrl=https://sibs.docs.onlinepayments.pt/tutorials/server-to-server"

@apoca apoca added enhancement New feature or request help wanted Extra attention is needed labels Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant