Evening all,
The scenario is that we are migration from using the 0.11 Microform to the 2.0 Microform.
Build environment is PHP backend, JS front end. The 0.11 solution is working successfully.
The latest PHP Rest Client PHP libraries have been installed and code has been tweaked to cater for changes in payload requirements. Rather than a direct CURL call to the endpoints as described HERE we are using the provided Classes from the Github repository recently updated HERE.
There are two different Classes that are presented in these libraries:
1. Cybersource\Api\MicroformIntegrationApi with the method generateCaptureContext
2. Cybersource\Api\FlexAPIApi with the method generateFlexAPIcaptureContext
Both do the job and produce a Capture Context. We are using #1. It produces a Capture Context jwt string successfully.
In our dev/test environment, we have been trying to use the provided JS library
Solved! Go to Solution.
12-14-2024 04:02 AM
Evening all. Thanks to the awsm gent Martin @ Visa, got some pointers that I'd been missing. Here's a summary for those of you playing along at home:
1. Calling Cybersource\Api\MicroformIntegrationApi with the method generateCaptureContext works, and results in an Object that for this purpose I'll call $keyResponse.
2. Field [0] of $keyResponse is the full blown JWT.
3. Decoding this key, using the following snippet:
12-16-2024 03:47 AM
Evening all. Thanks to the awsm gent Martin @ Visa, got some pointers that I'd been missing. Here's a summary for those of you playing along at home:
1. Calling Cybersource\Api\MicroformIntegrationApi with the method generateCaptureContext works, and results in an Object that for this purpose I'll call $keyResponse.
2. Field [0] of $keyResponse is the full blown JWT.
3. Decoding this key, using the following snippet:
12-16-2024 03:47 AM