Skip to content

Commit 8649c3d

Browse files
committed
customer result
1 parent a749f2d commit 8649c3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public_html/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
<script>
4949
var form = document.querySelector('#payment-form');
5050
<?php
51-
$customer = $gateway->customer()->create();
52-
$client_token = $gateway->ClientToken([customerId => $customer->id])->generate()
51+
$result = $gateway->customer()->create();
52+
$client_token = $gateway->ClientToken([customerId => $result->customer->id])->generate()
5353
?>
5454
var client_token = "<?php echo($client_token); ?>";
5555

0 commit comments

Comments
 (0)