Comments (2)
Hi @grimhan,
Yes, this is a known issue. There is an extra RecurringDetail
which is missing in our API schema, see this.
We need to wait until it is fixed so we can regenerate our models. Meanwhile, would you mind manually changing the generated models and create a pull request?
Thanks,
from adyen-go-api-library.
Hi Team, any updates on this? we still experience the same issue when using the latest library.
For anyone has the same experience, here is the temp solution:
// RecurringDetailsResult is the copy of the same name struct from Adyen recurring package.
// Only just for temporarily fixing the known issue.
type RecurringDetailsResult struct {
CreationDate *time.Time `json:"creationDate,omitempty"`
Details *[]RecurringDetail `json:"details,omitempty"`
LastKnownShopperEmail string `json:"lastKnownShopperEmail,omitempty"`
ShopperReference string `json:"shopperReference,omitempty"`
}
type RecurringDetail struct {
RecurringDetail recurring.RecurringDetail `json:"RecurringDetail,omitempty"`
}
// Here is how to call the Adyen API
func GetRecurringPaymentDetail(
ctx context.Context,
client *adyen.APIClient,
) (RecurringDetailsResult, *http.Response, error) {
req := &recurring.RecurringDetailsRequest{
MerchantAccount: "some merchant account",
Recurring: &recurring.RecurringType{Contract: "RECURRING"},
ShopperReference: "some shopper reference",
}
res := &RecurringDetailsResult{}
url := client.Recurring.BasePath() + "/listRecurringDetails"
httpRes, err := client.Recurring.Client.MakeHTTPPostRequest(req, res, url, ctx)
return *res, httpRes, err
}
from adyen-go-api-library.
Related Issues (20)
- Checkout 3DS Authentication Only HOT 1
- Missing field merchantAdviceCode in the returned payload
- Checkout modification support HOT 1
- [PW-8057] PaymentResponse does not work on the FraudResult field HOT 1
- Support for Cloud Terminal API ? HOT 5
- Support for Checkout API v68 HOT 1
- Requests to Adyen resulted in EOF error HOT 1
- StorePaymentMethod in PaymentRequest struct HOT 3
- Schema described in API documentation does not match model files HOT 2
- Support for Checkout API v69
- Remove unused models HOT 1
- [PW-7072] Checkout API supported version HOT 7
- [PW-7090] {paymentPspReference} is being harcoded in the checkout API modifications file
- [PW-7542] CaptureDelayHours value 0 is ignored HOT 3
- Dependency Dashboard
- Deprecate classic Adyen For Platforms
- Mask X-Api-Key Prefix On Debug Printout HOT 1
- Checkout API missing PaymentResponseAction in PaymentDetailsResponse model HOT 4
- Panic In Response Handling For 504 Gateway Timeout HOT 1
- Bancontact payment method on last lib versions HOT 6
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 adyen-go-api-library.