File: //proc/2147252/cwd/routes/dev.php
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\Dev\EmailController;
Route::get('dev/email', [EmailController::class, 'index']);
Route::get('dev/email/payment-update-to-payer', [EmailController::class, 'paymentUpdateToPayer']);
Route::get('dev/email/payment-update-to-merchant', [EmailController::class, 'paymentUpdateToMerchant']);
Route::get('dev/email/new-withdraw-to-platform', [EmailController::class, 'newWithdrawToPlatform']);
Route::get('dev/email/withdraw-has-processed-to-user', [EmailController::class, 'withdrawHasProcessedToUser']);
Route::get('dev/email/verification-code', [EmailController::class, 'verificationCode']);
Route::get('dev/shopify', function (\Illuminate\Http\Request $request) {
$shopify = new PHPShopify\ShopifySDK([
'ShopUrl' => 'thppwe-re.myshopify.com',
'AccessToken' => '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',
]);
$orderId = '11253128331631';
$res = $shopify->Order($orderId)->get();
dd($res);
// $notifyRecord = \App\Models\CoinPal\CoinPalNotifyRecord::latest()->first();
// $notifyRecord = \App\Models\CoinPal\CoinPalNotifyRecord::find($request->query('id'));
// $res = \App\Jobs\Payment\ForwardCoinPalNotificationToMerchant::dispatch($notifyRecord);
// dd('done', $res);
});