Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/FAVE-37047 Switch to New Domain Names Due to The Alipay+ Network Upgrade #4

Merged
merged 66 commits into from
May 23, 2024

Conversation

zhenghui97
Copy link

@zhenghui97 zhenghui97 commented May 14, 2024

Description

*Refer to chloerei/alipay@master...kfit-dev:alipay:chore/FAVE-37047-reset-to-upstream to see the actual differences compared to the upstream.

Context or Ticket

https://kfit-asia.atlassian.net/browse/FAVE-37047

@zhenghui97 zhenghui97 force-pushed the chore/FAVE-37047-reset-to-upstream branch from f7f8ee1 to 06b75b0 Compare May 17, 2024 09:23
@zhenghui97 zhenghui97 force-pushed the chore/FAVE-37047-reset-to-upstream branch 2 times, most recently from 2fc81a1 to 81d30b1 Compare May 20, 2024 03:54
@zhenghui97 zhenghui97 force-pushed the chore/FAVE-37047-reset-to-upstream branch from 81d30b1 to b811232 Compare May 20, 2024 04:00
@zhenghui97 zhenghui97 requested a review from a team May 20, 2024 04:25
@@ -1,6 +1,6 @@
module Alipay
module Service
GATEWAY_URL = 'https://mapi.alipay.com/gateway.do'
GATEWAY_URL = 'https://api-sea-global.alipayplus.com/gateway.do'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps we can try to declare an attr_accessor in the alipay.rb instead of hardcoding the URL, so we can accessed globally with something like this Alipay.legacy_gateway_url, it's easier to configure later with different value without the need to change in the gem code (eg: configure in rails initializer)

attr_accessor :pid, :key, :sign_type, :debug_mode

@zhenghui97 zhenghui97 force-pushed the chore/FAVE-37047-reset-to-upstream branch from 679b76a to d15850e Compare May 20, 2024 10:32
@zhenghui97 zhenghui97 requested review from kahshing96 and a team May 21, 2024 02:35
Copy link
Collaborator

@kahshing96 kahshing96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀 , thanks for the PR

@zhenghui97 zhenghui97 force-pushed the chore/FAVE-37047-reset-to-upstream branch from e2fae72 to d15850e Compare May 23, 2024 08:28
@zhenghui97 zhenghui97 merged commit d9ab197 into master May 23, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants