質問履歴39

「決済」及び「開発」関連用語集

カテゴリー: QA  閲覧数:296 配信日:2019-04-28 08:31


質問履歴39


I want to check the processing for the 'success_url' parameter of the 'Checkout \ Session :: create () method' in the Git-Hub code
・2019/4/28
The following PHP code works fine.
   $checkoutSession = \Stripe\Checkout\Session::create([
   'customer_email' => 'customer@example.com',
   'success_url' => 'https://xxxx/thanks.php',


The description is also described in the document.
The URL the customer will be directed to after the payment or subscription creation is successful.

But I want to see in PHP code how the process to be redirected to 'success_url' is implemented.
▼stripe-php /lib/Checkout/Session.php
<?php
namespace Stripe\Checkout;
/**
* Class Session
*
* Omission
*
* @property string $success_url
*
* @package Stripe
*/
class Session extends \Stripe\ApiResource
{
   const OBJECT_NAME = "checkout.session";
   use \Stripe\ApiOperations\Create;
   use \Stripe\ApiOperations\Retrieve;
}


▼stripe-php /lib/ApiOperations/Create.php
trait Create
{
   /**
    * @param array|null $params
    * @param array|string|null $options
    *
    * @return \Stripe\ApiResource The created resource.
    */
   public static function create($params = null, $options = null)
   {
       self::_validateParams($params);
       $url = static::classUrl();
       list($response, $opts) = static::_staticRequest('post', $url, $params, $options);
       $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts);
       $obj->setLastResponse($response);
       return $obj;
   }
}


Where is the process for 'success_url' implemented?

私は、”Checkout\Session::create()メソッド”の'success_url'パラメータに対する処理をGit-Hubのコードで確認したい
下記PHPコードは正常に動作する。

ドキュメントにも説明が記述されている。

しかし私は'success_url'へリダイレクトされる処理がどのように実装されているかをPHPコードで確認したい。

'success_url'に対する処理はどこで実装されているのですか?

I want to check the processing for the 'success_url' parameter of the 'Checkout \ Session :: create () method' in the Git-Hub code

週間人気ページランキング / 4-20 → 4-26
順位 ページタイトル抜粋 アクセス数
1 YouTube | 動画サービス(課金販売できるプラットフォーム) 7
1 EMVCo | クレジットカード仕様(仕様) 7
2 EMVレベル1 / EMVレベル2 / EMVCo とは? 5
3 クレジットカード決済 | 課金 4
3 pixivFANBOX | クリエイター支援プラットフォーム(課金販売できるプラットフォーム) 4
4 Squareは、デジタルコンテンツ(デジタル情報)の配信利用が認められないサービス | 「支払」機能を有する決済系サービス(決済サービス) 3
5 Stripe Q32。Webhook のエンドポイントから適切な値を返さなかったときの停止措置について | QA(Stripe) 2
5 「支払」と「送金」の違い | 違い 2
5 Stripe Q16。PaymentIntentの支払いで郵便番号入力を求められる。Radar rules の ZIP code を無効にしているのに | QA(Stripe) 2
5 プリペイドカード | カード 2
5 Stripe Q13。決済成功時に、「請求に紐づけられたメールアドレス」に対して、メール送信したいのですが、 | QA(Stripe) 2
6 Stripe webhook 配信の問題 / 実際に受け取った警告メールの受信例 1
6 Stripe webhook 配信の問題 | その他エントリー(Stripe) 1
6 Stripe。Stripeアカウントを持っていない人でもクレジットカード決済が出来る | その他エントリー(Stripe) 1
6 決済するためのクレジットカード情報をどこに紐づけるか、あるいはどこにも紐づけないか | 決済(Webサービスビジネス) 1
6 「支払、出金」機能を有する決済系サービス比較 1
6 StripeLinkサービス紹介 / 公式Help / サイト内DocLink 1
6 PaymentIntentで支払を実装する場合の選択肢 /「Payment Intents API」使用によるカードの支払確認方法は2種類 / PaymentMethodオブジェクトは歴史的経緯により3種類ある 1
6 ログイン後のナビゲーション選択肢 / URL一覧 / コンテンツの料金設定 1
6 投げ銭サービス(課金販売できるプラットフォーム) カテゴリー 1
2024/4/27 1:02 更新
指定期間人気ページランキング / 2020-5-28 → 2024-4-26
順位 ページタイトル抜粋 アクセス数
1 Stripeアカウントへログインする際、モバイル端末で受信したコード入力を求められる理由は? | その他エントリー(Stripe) 2010
2 EMVCo | クレジットカード仕様(仕様) 1270
3 Stripe Q13。決済成功時に、「請求に紐づけられたメールアドレス」に対して、メール送信したいのですが、 | QA(Stripe) 944
4 Stripe Q16。PaymentIntentの支払いで郵便番号入力を求められる。Radar rules の ZIP code を無効にしているのに | QA(Stripe) 901
5 クレジットカード決済 | 課金 880
6 Twitch | ゲーム実況配信サービス(課金販売できるプラットフォーム) 876
7 決済用語 855
8 Stripe Q50。 Connect 「Standardアカウント」で、自身に連結された子アカウントを、ダッシュボードから削除するには? | QA(Stripe) 824
9 Omise | 「支払」機能を有する決済系サービス(決済サービス) 767
10 Stripe Q1。Stripeにおける個人事業主の定義 | QA(Stripe) 761
11 pixivFANBOX | クリエイター支援プラットフォーム(課金販売できるプラットフォーム) 742
12 Stripe Q31。ダッシュボードでの「支払い作成」の見方について | QA(Stripe) 738
13 EMVレベル1 / EMVレベル2 / EMVCo とは? 727
14 YouTube | 動画サービス(課金販売できるプラットフォーム) 672
15 プリペイドカード | カード 645
16 EPUB | ファイルフォーマット(電子書籍) 587
17 サブスクリプション | 課金 563
18 Stripeで"No such token: src"と表示されたら、最初にAPIキーを確認する | Stripe エラー(Stripe) 544
19 Stripe Q74.「お客様のビジネスの詳細」とは何ですか? | Stripe 542
20 ファンティア | クリエイター支援プラットフォーム(課金販売できるプラットフォーム) 482
2024/4/27 1:02 更新