Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cashier-paddle.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ In this example, the `CompleteOrder` listener might look like the following:
namespace App\Listeners;

use App\Models\Order;
use Laravel\Cashier\Cashier;
use Laravel\Cashier\Events\TransactionCompleted;
use Laravel\Paddle\Cashier;
use Laravel\Paddle\Events\TransactionCompleted;

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

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:

use Laravel\Cashier\Cashier;
use Laravel\Paddle\Cashier;

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

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

use Illuminate\Http\Request;
use Laravel\Cashier\Transaction;
use Laravel\Paddle\Transaction;

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