GithubHelp home page GithubHelp logo

Comments (6)

nginx-1 avatar nginx-1 commented on May 30, 2024 2

我是一个服务,同时处理支付跟回调,没法重新构造一个config。只能通过builder 是否可以解决这个问题,请问下一个发布周期是多久 我好同步更新一下,谢谢 辛苦了

from wechatpay-java.

tanxiuguang avatar tanxiuguang commented on May 30, 2024

RSAAutoCertificateConfig只能作为单例用吗?第二次初始化就报错The corresponding provider for the merchant already exists.

from wechatpay-java.

xy-peng avatar xy-peng commented on May 30, 2024

@nginx-1 目前是的,你能详细描述下你是什么情况下需要同时使用这两者吗?我们期望商户能分离系统中处理通知回调的服务和处理支付请求的服务。

改进计划上,我们准备把 RSAAutoCertificateConfig 也实现 NotificationConfig,这样两个场景用一个配置实例就可以了。

from wechatpay-java.

xy-peng avatar xy-peng commented on May 30, 2024

RSAAutoCertificateConfig只能作为单例用吗?第二次初始化就报错The corresponding provider for the merchant already exists.

@tanxiuguang 是的,只能有一个示例,你是什么场景要多次初始化?

from wechatpay-java.

tanxiuguang avatar tanxiuguang commented on May 30, 2024

RSAAutoCertificateConfig只能作为单例用吗?第二次初始化就报错The corresponding provider for the merchant already exists.

@tanxiuguang 是的,只能有一个示例,你是什么场景要多次初始化?

我看文档以为每次都要初始化config,理解错了。

from wechatpay-java.

guantou avatar guantou commented on May 30, 2024

官方更新好快
我当时是定义一个RSAAutoCertificateProvider, 然后单独定义了AbstractRSAConfig 和 AbstractNotificationConfig的两个实现类,支持传入RSAAutoCertificateProvider。

from wechatpay-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.