差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン | 次のリビジョン両方とも次のリビジョン | ||
start [2019/06/07 17:48] – baba | start [2020/09/08 23:21] – baba | ||
---|---|---|---|
行 2: | 行 2: | ||
* https:// | * https:// | ||
+ | |||
+ | < | ||
+ | <div id=" | ||
+ | <script src=" | ||
+ | < | ||
+ | paypal.Buttons({ | ||
+ | style: { | ||
+ | shape: ' | ||
+ | color: ' | ||
+ | layout: ' | ||
+ | label: ' | ||
+ | | ||
+ | }, | ||
+ | createOrder: | ||
+ | return actions.order.create({ | ||
+ | purchase_units: | ||
+ | amount: { | ||
+ | value: ' | ||
+ | } | ||
+ | }] | ||
+ | }); | ||
+ | }, | ||
+ | onApprove: function(data, | ||
+ | return actions.order.capture().then(function(details) { | ||
+ | alert(' | ||
+ | }); | ||
+ | } | ||
+ | }).render('# | ||
+ | </ | ||
+ | </ |