Skip to content

Instantly share code, notes, and snippets.

@adrielAd
Created August 25, 2021 11:23
Show Gist options
  • Save adrielAd/aa06588c5b531d88771d369495f871ec to your computer and use it in GitHub Desktop.
Save adrielAd/aa06588c5b531d88771d369495f871ec to your computer and use it in GitHub Desktop.
Payment Request Response
URL - https://oppwa.com/v1/
Request -
entityId=8ac9a4cb66aafd790166ceedc52b1884&amount=0.15&currency=JOD&paymentType=DB&merchantTransactionId=16118_1629890067&customParameters[branch_id]=1&customParameters[teller_id]=1&customParameters[device_id]=1&customParameters[bill_number]=16118_1629890067&card.number=xxxxxxxxxxxxxx43&card.holder=Mahan&card.expiryMonth=xx&card.expiryYear=xxxx&card.cvv=xxx&paymentBrand=VISA&shopperResultUrl=https://theoutfit.me/module/webservices/validation?method=VISA&shipping.city=B3Building&shipping.country=JO&shipping.customer.givenName=Neerav&shipping.customer.surname=Ahuja&shipping.street1=B3Building#51SaeedPenoStreet&shipping.street2=B3Building#51SaeedPenoStreet&billing.city=B3Building&billing.country=JO&customer.givenName=Neerav&customer.surname=Ahuja&billing.street1=B3Building#51SaeedPenoStreet&billing.street2=B3Building#51SaeedPenoStreet
Response -
{"id":"8ac9a4a37b7c3a8a017b7d04be68628d","paymentType":"DB","paymentBrand":"VISA","amount":"0.15","currency":"JOD","descriptor":"0931.1906.8984 5007 - Outfit ","merchantTransactionId":"16118_1629890067","result":{"code":"000.200.000","description":"transaction pending"},"card":{"bin":"xxxxxx","last4Digits":"6143","holder":"Mahan","expiryMonth":"xx","expiryYear":"xxxx"},"customer":{"givenName":"Neerav","surname":"Ahuja"},"billing":{"street1":"B3Building#51SaeedPenoStreet","street2":"B3Building#51SaeedPenoStreet","city":"B3Building","country":"JO"},"shipping":{"street1":"B3Building#51SaeedPenoStreet","street2":"B3Building#51SaeedPenoStreet","city":"B3Building","country":"JO","customer":{"givenName":"Neerav","surname":"Ahuja"}},"customParameters":{"bill_number":"16118_1629890067","branch_id":"1","device_id":"1","teller_id":"1"},"redirect":{"url":"https://ppipe.net/connectors/migs/redirect.link;jsessionid=FABB13062BCF3822C4AC69455DD7A9C8.prod02-vm-con04?ndcid=8ac9a4cb66aafd790166ceedc52b1884_2578ea9f126f4a30ad0a3db47eca2cf7","parameters":[{"name":"jsessionid","value":"FABB13062BCF3822C4AC69455DD7A9C8.prod02-vm-con04"}]},"risk":{"score":"0"},"buildNumber":"97f0054b09ee8450755a5896928ab84025e1a208@2021-08-19 11:05:32 +0000","timestamp":"2021-08-25 11:14:28+0000","ndc":"8ac9a4cb66aafd790166ceedc52b1884_2578ea9f126f4a30ad0a3db47eca2cf7"}
URL - https://test.oppwa.com/v1/
Request Data
entityId=8ac7a4ca6b55b736016b6442b0f10d84
&amount=185
&currency=JOD
&paymentType=DB
&merchantTransactionId=15036_1629886390
&customParameters[branch_id]=1
&customParameters[teller_id]=1
&customParameters[device_id]=1
&customParameters[bill_number]=15036_1629886390
&card.number=4111111111111111
&card.holder=Morgan
&card.expiryMonth=02
&card.expiryYear=2023
&card.cvv=123
&paymentBrand=VISA
&testMode=INTERNAL
&shopperResultUrl=https://outfitnew.newsoftdemo.info/module/webservices/validation?method=VISA
&shipping.city=Amman
&shipping.country=JO
&shipping.customer.givenName=Morgan
&shipping.customer.surname=Shaw
&shipping.street1=NewBader
&shipping.street2=NewBader
&billing.city=Amman&billing.country=JO
&customer.givenName=Morgan
&customer.surname=Shaw
&billing.street1=NewBader
&billing.street2=NewBader
Response Data
{"id":"8ac7a4a27b7ad2e1017b7ccca40279b4","paymentType":"DB","paymentBrand":"VISA","amount":"185.00","currency":"JOD","descriptor":"8335.3678.9304 Outfit ","merchantTransactionId":"15036_1629886390","result":{"code":"000.200.000","description":"transaction pending"},"resultDetails":{"ExtendedDescription":"Successfully processed","ConnectorTxID1":"8ac7a4a27b7ad2e1017b7ccca40279b4","ConnectorTxID3":"7ad2e1017b7ccca40279b4","ConnectorTxID2":"8ac7a4a2","AcquirerResponse":"00"},"card":{"bin":"438106","last4Digits":"6143","holder":"Mahan","expiryMonth":"02","expiryYear":"2026"},"customer":{"givenName":"Morgan","surname":"Shaw"},"billing":{"street1":"NewBader","street2":"NewBader","city":"Amman","country":"JO"},"shipping":{"street1":"NewBader","street2":"NewBader","city":"Amman","country":"JO","customer":{"givenName":"Morgan","surname":"Shaw"}},"customParameters":{"bill_number":"15036_1629886390","branch_id":"1","device_id":"1","teller_id":"1"},"redirect":{"url":"https://test.ppipe.net/connectors/simulation/certification.jsp","parameters":[{"name":"sessionID","value":"1C2B909CBAB7FCCCA2C22CEDE4779F65.uat01-vm-con01"},{"name":"ndcid","value":"8ac7a4ca6b55b736016b6442b0f10d84_1d281af62809472c8a5d67953f8c10e4"}]},"risk":{"score":"0"},"buildNumber":"271ba226dc1e1aa1c297778e594d94428a0b9227@2021-08-24 13:58:51 +0000","timestamp":"2021-08-25 10:13:11+0000","ndc":"8ac7a4ca6b55b736016b6442b0f10d84_1d281af62809472c8a5d67953f8c10e4"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment