0
私はこのスクエアAPIについて非常に新しく、以下の出力が何であるか分かりません。スクエアAPIカードのフォームを作成し、サンドボックスで作業しています。私がカードを走らせると、process-card.phpから次の出力が得られます。square APIの次の出力はどれですか?
「お支払いいただきありがとうございます」の上のプロビジョンは何ですか?これは印刷されているエラーなのか、まさに情報的なのでしょうか?それがちょうど情報的なものであれば、コードでコメントすることができますか、表示しない別の方法がありますか?私はスクエアのサイトやこれに関するGoogle上のドキュメンテーションを見つけることができませんでした。
私はGitHub
おかげからファイルを使用していました。
SquareConnect\Model\ChargeResponse Object
(
[errors:protected] =>
[transaction:protected] => SquareConnect\Model\Transaction Object
(
[id:protected] => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[location_id:protected] => xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[created_at:protected] => 2017-04-04T15:32:45Z
[tenders:protected] => Array
(
[0] => SquareConnect\Model\Tender Object
(
[id:protected] => xxxxxxxxxxxxxxxxxxxxxxxxxxx
[location_id:protected] => xxxxxxxxxxxxxxxxxxxxx
[transaction_id:protected] => xxxxxxxxxxxxxxxxxxxxxxxxxx
[created_at:protected] => 2017-04-04T15:32:45Z
[note:protected] => Online Transaction
[amount_money:protected] => SquareConnect\Model\Money Object
(
[amount:protected] => 100
[currency:protected] => USD
)
[processing_fee_money:protected] =>
[customer_id:protected] =>
[type:protected] => CARD
[card_details:protected] => SquareConnect\Model\TenderCardDetails Object
(
[status:protected] => CAPTURED
[card:protected] => SquareConnect\Model\Card Object
(
[id:protected] =>
[card_brand:protected] => VISA
[last_4:protected] => xxxx
[exp_month:protected] =>
[exp_year:protected] =>
[cardholder_name:protected] =>
[billing_address:protected] =>
)
[entry_method:protected] => KEYED
)
[cash_details:protected] =>
)
)
[refunds:protected] =>
[reference_id:protected] =>
[product:protected] => EXTERNAL_API
[client_id:protected] =>
[order:protected] =>
[shipping_address:protected] =>
)
)
Thank you for your payment.
Amount: $1.00
Card: VISA XXXX