Skip to content

Commit 696cad1

Browse files
authored
Correct import statement for Laravel Cashier Paddle (#9806)
1 parent 19515e2 commit 696cad1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cashier-paddle.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ In this example, the `CompleteOrder` listener might look like the following:
276276
namespace App\Listeners;
277277

278278
use App\Models\Order;
279-
use Laravel\Cashier\Cashier;
280-
use Laravel\Cashier\Events\TransactionCompleted;
279+
use Laravel\Paddle\Cashier;
280+
use Laravel\Paddle\Events\TransactionCompleted;
281281

282282
class CompleteOrder
283283
{
@@ -669,7 +669,7 @@ These defaults will be used for every action in Cashier that generates a [checko
669669

670670
You can retrieve a customer by their Paddle Customer ID using the `Cashier::findBillable` method. This method will return an instance of the billable model:
671671

672-
use Laravel\Cashier\Cashier;
672+
use Laravel\Paddle\Cashier;
673673

674674
$user = Cashier::findBillable($customerId);
675675

@@ -1372,7 +1372,7 @@ When listing the transactions for a customer, you may use the transaction instan
13721372
The `download-invoice` route may look like the following:
13731373

13741374
use Illuminate\Http\Request;
1375-
use Laravel\Cashier\Transaction;
1375+
use Laravel\Paddle\Transaction;
13761376

13771377
Route::get('/download-invoice/{transaction}', function (Request $request, Transaction $transaction) {
13781378
return $transaction->redirectToInvoicePdf();

0 commit comments

Comments
 (0)