Adyen支付API v49的Golang库

huangapple go评论104阅读模式
英文:

Adyen checkout API v49 for Golang library

问题

我正在将Adyen的Checkout API的实现迁移到Golang。我遇到的问题是ruby的实现版本太旧,使用的是Checkout v49。我注意到https://github.com/Adyen/adyen-go-api-library不支持该版本(它支持的版本范围在v52v69之间)。

因此,我有两个问题:

  • 是否有办法使用v49版本,还是必须升级到更高版本?
  • 在迁移功能时,如果需要升级,响应是否在不同版本之间向后兼容?
英文:

I'm moving an implementation of the Adyen's Checkout API to Golang.
The problem I have is the ruby implementation is too old and uses Checkout v49. I have seen that https://github.com/Adyen/adyen-go-api-library does not support it (it ranges between v52 and v69).

Therefore I have 2 questions:

  • is there a way to use v49 or am I required to upgrade it?
  • while I migrate functionality, if required to upgrade, I should work with 2 versions, hence, are responses backwards compatible between versions?

答案1

得分: 1

我在Adyen/adyen-go-api-library中没有看到任何关于旧版本的提及:升级到最新版本是明智的。

特别是考虑到,根据这个页面的说法:

我们的新API端点与旧版本(> v40/v41)的端点向后兼容,因此您可以期望继续支持您正在使用的所有当前功能。

英文:

I do not see any mention of older version in Adyen/adyen-go-api-library: upgrading to the latest version is sensible.

Especially considering that, according to this page:

> Our newer API endpoints are backward compatible with older versions (> v40/v41) of the endpoint, so you can expect all current functionalities you are using to continue to be supported.

答案2

得分: 1

Adyen Golang API v6.0.1 支持 Checkout API v69,正如你所指出的,它的版本比其他语言(如 Ruby)更新。

从最新可用版本开始是个好主意,这样你可以获得所需的所有功能和功能,并且更容易找到相关的文档和支持。

一个好的起点是查看 Adyen Golang Sample 应用程序,它展示了如何集成该库并进行支付操作。

英文:

The Adyen Golang API v6.0.1 supports Checkout API v69, and it goes as far as v52 - correctly pointed out by you - because it has been created more recently than others (ie Ruby).

It is indeed a good idea to start with the latest available version, you get access to all the features and functionality you need, and it will be easier to find relevant documentation and support.

A good start is to look at the Adyen Golang Sample application that shows how to integrate the library and perform a payment.

huangapple
  • 本文由 发表于 2023年5月21日 23:48:30
  • 转载请务必保留本文链接:https://go.coder-hub.com/76300714.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定