feat: Apple Pay を Checkout Session の payment_method_types に追加 - #3
Open
laiso wants to merge 1 commit into
Open
Conversation
laiso
force-pushed
the
feat/apple-pay
branch
2 times, most recently
from
May 2, 2026 13:27
017777d to
6b75ba6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
server/index.jsのpayment_method_typesに'apple_pay'を追加し、PAY.JP がホストする Checkout V2 (外部リンク型) で Apple Pay 決済を選択可能にしたpayment_method_types配列の編集だけで画面の支払い方法が増減する旨を明記設計上のポイント
'apple_pay'を含めても他端末への副作用なしReact Native サンプルの注意
現状
expo-web-browser.openAuthSessionAsync(=ASWebAuthenticationSession) を使用しているため、対応端末でも Apple Pay ボタンが表示されない場合があります。Apple Pay 動作確認は当面 iOS native / Flutter サンプルで行ってください。後続 PR でopenBrowserAsync(SFSafariVC) +Linking構成への切替を予定。検証スコープ
apple_pay識別子で/create-checkout-sessionがcs_test_...を返すこと確認済 (curl)Test plan
react-nativeの jest テストが pass する (parseRedirect4/4)/products,/create-checkout-sessionが正常応答🤖 Generated with Claude Code