Comments (11)
Hi @ratiodavinder
Thanks for raising the issue.
I tried reproducing the issue but the tests works fine. We are asserting the values of Decision
and PaymentAccountReference
in the test and the response have both the values.
Pasting snippets of the response:
["response_host"]=>
string(36) "site.1.sample.service.mastercard.com"
["response_id"]=>
string(6) "123456"
["decision"]=>
string(8) "APPROVED"
["authentication_methods"]=>
object(DigitalEnablementClient\Model\TokenDetailData)#66 (1) {
["container":protected]=>
array(1) {
["payment_account_reference"]=>
string(29) "500181d9f8e0629211e3949a08002"
}
Let us know if you can provide the exact the steps to reproduce. Also the version of php you are using.
Thanks!
from mastercard-api-client-tutorial.
Hi @ratiodavinder,
The encrypt/decrypt cert/key provided in the document seems to be causing the issue. I have contacted the service team to rectify it. I will update when we have some confirmation.
Thanks!
from mastercard-api-client-tutorial.
Hello @Akshaykdubey,
Like I mentioned earlier, I am using the encryption certificates provided at https://developer.mastercard.com/mdes-digital-enablement/documentation/tutorials/create-a-new-project/#6-download-client-encryption-key-sandbox
Thanks
from mastercard-api-client-tutorial.
Hello Akshay,
Thanks for your response.
If we talk about the GitHub repo specifically, I followed the below steps
- Downloaded the code from GitHub
- Added ConsumerKey, SigningKeyAlias, SigningKeyPassword, SigningKeyPkcs12FilePath in /mastercard-latest/test/Api/TokenizeApiTest.php file
- Downloaded encryption and decryption keys from https://developer.mastercard.com/mdes-digital-enablement/documentation/tutorials/create-a-new-project/#6-download-client-encryption-key-sandbox
- Added encryption and decryption file path in EncryptionCertificateFilePath and DecryptionKeyFilePath respectively.
- Used phpunit command to run /mastercard-latest/test/Api/TokenizeApiTest.php
I also tried to add "public_key_fingerprint" as mentioned in the above shared link, but didn't get any success. I added it in FundingAccountInfoEncryptedPayload for testing.
I am using PHP 7.4, please let me know if I am missing something.
Thanks,
Davinder
from mastercard-api-client-tutorial.
Hello Akshay,
Please let me know if there is any update.
Regards,
Davinder
from mastercard-api-client-tutorial.
Hi Davinder,
Can you confirm if you are using the encrypt and decrypt cert/key provided in the document of the API?
from mastercard-api-client-tutorial.
Hello Akshaykdubey,
Have we resolved the issue with the cert/key provided in the document? What are our next steps please?
Thanks,
Travis
from mastercard-api-client-tutorial.
Hi @Advancedlux
We are following up with the team. We will get back to you once we have the fix.
Thanks!
from mastercard-api-client-tutorial.
Hello,
Do we have an update yet?
Thanks,
Travis
from mastercard-api-client-tutorial.
Hello @Akshaykdubey,
It has been almost a month. May we please get an update on how to proceed?
Thanks,
Travis
from mastercard-api-client-tutorial.
Hi @Advancedlux ,
We checked with MDES Digital Enablement team that returns the null response that you reported. As this isn't a problem with the tutorial or guide referenced, MDES Digital Enablement team requested you to to get in touch
with them directly at [email protected]
When you do so, please be aware that you will be asked to provide your company and contact details by the support team.
Thanks,
Akshay
from mastercard-api-client-tutorial.
Related Issues (14)
- Jjhg
- Khh
- Uuhuu HOT 1
- Internal Server Error:Issue while posting for Merchant Mappings HOT 2
- buildTokenizeRequestSchema HOT 2
- tokenizeResponseSchema null HOT 3
- Unable to open charp project HOT 4
- installing openapi-generator-cli gives below error HOT 2
- Api-Client HOT 1
- using the generated api client in multiple environments HOT 2
- generated model AuthenticationMethods have wrong type for id
- Cannot require 'mdes_for_merchants' HOT 2
- Fail to run TestTokenizeEndpoint method
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 mastercard-api-client-tutorial.