Upgrade to Pro — share decks privately, control downloads, hide ads and more …

JP_Stripes 福岡 Vol.4 - 新入社員がカード決済に取り組んだ話

shimomo
September 12, 2018

JP_Stripes 福岡 Vol.4 - 新入社員がカード決済に取り組んだ話

shimomo

September 12, 2018
Tweet

More Decks by shimomo

Other Decks in Technology

Transcript

  1. Invoice Created "{ "data": { "object": { "id": "in_00000000000000", //

    ੥ٻॻͷID "object": "invoice", "amount_due": 0, "amount_paid": 0, "amount_remaining": 0, "currency": "jpy", "customer": "cus_00000000000000", // ސ٬ͷID
  2. ੥ٻॻͷ߲໨Λ࡞੒ InvoiceItem <?php \Stripe\InvoiceItem::create([ 'amount' => ʢ୯Ձ × ར༻ऀ਺ʣ, 'invoice'

    => ‘in_00000000000000', // ੥ٻॻͷID 'customer' => ‘cus_00000000000000', // ސ٬ͷID 'currency' => 'jpy', 'description' => 'ֹ݄අ༻', ]);