使用带Grails4的Stripe

使用带Grails4的Stripe,grails,stripe-payments,grails-4,Grails,Stripe Payments,Grails 4,我在将stripe插件安装到Grails4时遇到问题 我向build.gradle文件中的依赖项添加了compile“org.grails.plugins:stripe:2.10” 然后在powershell中使用grails安装条带 我得到了这个错误: | Error Error initializing classpath: Could not find org.grails.plugins:stripe:2.10. Searched in the following locations:

我在将stripe插件安装到Grails4时遇到问题

我向build.gradle文件中的依赖项添加了
compile“org.grails.plugins:stripe:2.10”

然后在powershell中使用
grails安装条带

我得到了这个错误:

| Error Error initializing classpath: Could not find org.grails.plugins:stripe:2.10.
Searched in the following locations:
  - https://repo.grails.org/grails/core/org/grails/plugins/stripe/2.10/stripe-2.10.pom
  - https://repo.grails.org/grails/core/org/grails/plugins/stripe/2.10/stripe-2.10.jar
Required by:
    project : (Use --stacktrace to see the full trace)```


据我所知,没有一个版本的插件与Grails4兼容。位于的代码已多年未更新


没有理由在grails 4中运行
grails install stripe

这里有一些非常具有描述性的文档和示例:。“看起来非常友好”——@Michal_Szulc我不认为有任何信息与解决问题中提到的错误有关。这个错误是Grails特有的,这个错误是因为作者试图解析Grails 3/4应用程序中的Grails 2插件,这是不受支持的。当然,你是对的。只是想鼓励一位作者在官方文档的基础上实现他自己的集成(事实上,他甚至在你的回答中问到了这一点),非常感谢。有没有其他方法可以在Grails服务器上使用Stripe?“有没有其他方法可以在Grails服务器上使用Stripe?”-有。有很多选择。Grails2插件可以升级以支持Grails4。您可以使用一些提供与Stripe集成的库。您可以自己编写集成。非常感谢您的帮助。