CyberSource / CyberSource/cybersource-rest-samples-csharp

Howto Generate JWT Flex Token

Open
#71 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
28
Forks
46
PR merge metrics
No merged PRs in 30d

Description

I've spent a few days trying to work out how to use the CyberSource dotnet SDK to submit a tokenised payment authorisation. I'm able to achieve this with the a Flex Token from the Flex Microform javascript library. For testing I need to get the token using C#.

It seems like the answer should be to combine these two samples:

The payment example uses a hard coded JWT Flex Token. How can that be generated with C#?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading Source/Samples/FlexMicroform/FlexTokenizeCard.cs and Source/Samples/Payments/Payments/PaymentWithFlexToken.cs, then compare how the payment sample receives its hard-coded JWT Flex Token. Done means the repository explains or demonstrates how to generate that token with C# for a tokenised payment authorisation.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, javascript
Domain
api, payments
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.