CyberSource / CyberSource/cybersource-rest-client-java
Fetching consumer id(token) on making payment with jwt
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 29
- Forks
- 50
- Avg merge
- 28m
- Merged PRs (30d)
- 1
Description
I generated flex token and used microform to add the card details into jwt. Once payment is successful how do I get the token or consumer id that I can use for future payments. Please help.
This is the response I get
{
"links": {
"self": {
"href": "/pts/v2/payments/5867929049116740203002",
"method": "GET"
},
"reversal": null,
"capture": {
"href": "/pts/v2/payments/5867929049116740203002/captures",
"method": "POST"
}
},
"id": "5867929049116740203002",
"submitTimeUtc": "2020-04-13T15:48:28Z",
"status": "AUTHORIZED",
"reconciliationId": null,
"errorInformation": null,
"clientReferenceInformation": {
"code": "COPART_UK",
"submitLocalDateTime": null,
"ownerMerchantId": null
},
"processingInformation": null,
"processorInformation": {
"authIndicator": null,
"approvalCode": "100",
"transactionId": "123456789012345",
"networkTransactionId": "123456789012345",
"providerTransactionId": null,
"responseCode": "0",
"responseCodeSource": null,
"responseDetails": null,
"responseCategoryCode": null,
"forwardedAcquirerCode": null,
"avs": {
"code": "U",
"codeRaw": "00"
},
"cardVerification": {
"resultCode": "N",
"resultCodeRaw": "4"
},
"merchantAdvice": null,
"electronicVerificationResults": null,
"achVerification": null,
"customer": null,
"consumerAuthenticationResponse": null,
"systemTraceAuditNumber": null,
"paymentAccountReferenceNumber": null,
"transactionIntegrityCode": null,
"amexVerbalAuthReferenceNumber": null,
"masterCardServiceCode": null,
"masterCardServiceReplyCode": null,
"masterCardAuthenticationType": null,
"name": null,
"routing": null,
"merchantNumber": null
},
"issuerInformation": null,
"paymentInformation": {
"card": null,
"tokenizedCard": {
"prefix": null,
"suffix": null,
"type": "001",
"assuranceLevel": null,
"expirationMonth": null,
"expirationYear": null,
"requestorId": null
},
"accountFeatures": null,
"bank": null
},
"orderInformation": {
"amountDetails": {
"totalAmount": null,
"authorizedAmount": "100.00",
"currency": "USD"
},
"invoiceDetails": null
},
"pointOfSaleInformation": null,
"installmentInformation": null,
"riskInformation": null,
"consumerAuthenticationInformation": null
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the issue's Flex token, microform, and payment response, then consult the CyberSource REST API documentation for supported customer or payment-token flows. Done means identifying whether a reusable token or consumer ID is returned or supported and documenting the correct integration path; the payload names no repository files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, payments
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100