Skip to content

Commit

Permalink
Update generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-stripe committed Sep 27, 2024
1 parent 7440b50 commit 5d400c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
1 change: 1 addition & 0 deletions examples/stripe_webhook_handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
// Record the failures and alert your team
// Add your logic here
}

return $response->withStatus(200);
} catch (\Exception $e) {
return $response->withStatus(400)->withJson(['error' => $e->getMessage()]);
Expand Down
16 changes: 0 additions & 16 deletions tests/Stripe/GeneratedExamplesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3581,22 +3581,6 @@ public function testTerminalReadersProcessPaymentIntentPost()
static::assertInstanceOf(\Stripe\Terminal\Reader::class, $result);
}

public function testTerminalReadersProcessSetupIntentPost()
{
$this->expectsRequest(
'post',
'/v1/terminal/readers/tmr_xxxxxxxxxxxxx/process_setup_intent'
);
$result = $this->client->terminal->readers->processSetupIntent(
'tmr_xxxxxxxxxxxxx',
[
'setup_intent' => 'seti_xxxxxxxxxxxxx',
'customer_consent_collected' => true,
]
);
static::assertInstanceOf(\Stripe\Terminal\Reader::class, $result);
}

public function testTestHelpersCustomersFundCashBalancePost()
{
$this->expectsRequest(
Expand Down

0 comments on commit 5d400c1

Please sign in to comment.