Skip to content

Commit

Permalink
ReadMe updated as per v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gitesh-webkul committed Mar 18, 2024
1 parent 6ba711f commit 4406853
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Bagisto Cybersource Payment Extension Features:

### 2. Requirements:

* **Bagisto**: v2.1.0.
* **Bagisto**: v2.0.0.

### 3. Installation:

Expand All @@ -34,16 +34,6 @@ Webkul\CyberSource\Providers\CyberSourceServiceProvider::class,
"Webkul\\CyberSource\\": "packages/Webkul/CyberSource/src"
~~~

* In the config/bagisto-vite.php file, add the following line under the 'viters' section:

~~~
'cyber_source' => [
'hot_file' => 'cyber-source-vite.hot',
'build_directory' => 'themes/cyber-source/build',
'package_assets_directory' => 'src/Resources/assets',
],
~~~

* Goto app/Http/Middleware/VerifyCsrfToken.php file and add following line under '$except' variables

~~~
Expand All @@ -62,18 +52,6 @@ composer dump-autoload
php artisan route:cache
~~~


* Run the following commands under the path packages/Webkul/CyberSource to generate the assets build file.

~~~
npm i
~~~

~~~
npm run build
~~~


### 4. Cybersource Dashboard:

* Goto Cybersource Dashboard and follow below steps after creating an account
Expand All @@ -90,4 +68,4 @@ Domain/checkout/cyber-source/response
Domain/checkout/cyber-source/cancel
~~~

> Your Bagisto instance is now ready to accept payments from CyberSource.
> Your Bagisto instance is now ready to accept payments from CyberSource.

0 comments on commit 4406853

Please sign in to comment.