CyberSource / CyberSource/cybersource-rest-client-java
two calls require for subscription_id generation
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 29
- Forks
- 50
- Avg merge
- 28m
- Merged PRs (30d)
- 1
Description
Currently If user want to generate subscription id from the token created against given credit card, he/she require two separate calls. First call is PaymentsApi.createPayment(paymentRequest) which return Id. Second call is TransactionDetailsApi.getTransaction(Id) which return subscriptionId to be used for Auth call later.
But in case of Soap api, it is happening in a single call of paySubscriptionCreateService(). Can you please fix it and make it single java rest api call.
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 by comparing PaymentsApi.createPayment(paymentRequest) and TransactionDetailsApi.getTransaction(Id) with the SOAP paySubscriptionCreateService() flow described in the issue. Determine how the REST client could expose subscriptionId in one call, then verify that the resulting flow supports the later Auth call.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100