All Projects → aureatelabs → vsf-payment-razorpay

aureatelabs / vsf-payment-razorpay

Licence: MIT License
Razorpay Payment Extension for Vue Storefront - Integrated to accept online payment

Programming Languages

typescript
32286 projects
Vue
7211 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to vsf-payment-razorpay

Vue Storefront
The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. We have custom integrations with Magento, commercetools, Shopware and Shopify and total coverage is just a matter of time. The API approach also allows you to merge VSF with any third-party tool like CMS, payment gateways or analytics. Ne…
Stars: ✭ 9,111 (+60640%)
Mutual labels:  pwa, magento2, vue-storefront
how-to-venia
Magento PWA Storefront based on PWA Studio's Venia Storefront (Concept)
Stars: ✭ 39 (+160%)
Mutual labels:  pwa, magento2
vsf-external-checkout
VueStorefront External Checkout module
Stars: ✭ 26 (+73.33%)
Mutual labels:  pwa, magento2
React Storefront
React Storefront - PWA for eCommerce. 100% offline, platform agnostic, headless, Magento 2 supported. Always Open Source, Apache-2.0 license. Join us as contributor ([email protected]).
Stars: ✭ 292 (+1846.67%)
Mutual labels:  pwa, magento2
magento2
Vue Storefront 2 integration for Magento 2
Stars: ✭ 94 (+526.67%)
Mutual labels:  magento2, vue-storefront
magento2-webappmanifest
A Magento 2 extension that adds a Web App Manifest to the store.
Stars: ✭ 19 (+26.67%)
Mutual labels:  pwa, magento2
React Storefront
Build and deploy e-commerce progressive web apps (PWAs) in record time.
Stars: ✭ 275 (+1733.33%)
Mutual labels:  pwa, magento2
Vsf Google Recaptcha
Google Invisible reCAPTCHA v3 extension for Vue Storefront to preventing bot form submission
Stars: ✭ 20 (+33.33%)
Mutual labels:  pwa, magento2
Magento Docker
Docker environment dedicated for ScandiPWA theme development
Stars: ✭ 98 (+553.33%)
Mutual labels:  pwa, magento2
magento2
For any issues or questions please get in touch with us via [email protected]
Stars: ✭ 15 (+0%)
Mutual labels:  magento2, payment-methods
vsf-payment-braintree
vue storefront braintree online payment gateway
Stars: ✭ 14 (-6.67%)
Mutual labels:  magento2, vue-storefront
vsf-address-book
Customer address book extension for Vue Storefront - Integration to manage customer’s multiple addresses under my account section
Stars: ✭ 20 (+33.33%)
Mutual labels:  magento2, vue-storefront
m2-MSP CashOnDelivery
Cash on delivery module for Magento 2
Stars: ✭ 50 (+233.33%)
Mutual labels:  magento2, payment-methods
magento2-dev-plus-exam
📚Magento 2 Certified Professional Developer Plus Exam
Stars: ✭ 79 (+426.67%)
Mutual labels:  magento2
magento-1
PAYONE Payment Extension for Magento 1
Stars: ✭ 19 (+26.67%)
Mutual labels:  payment-methods
magento2-alsoviewed
Magento2 product suggestion module, based on customers activities
Stars: ✭ 25 (+66.67%)
Mutual labels:  magento2
magento2-prometheus-exporter
Simple Magento 2 Prometheus Exporter.
Stars: ✭ 40 (+166.67%)
Mutual labels:  magento2
rescript-react-boilerplate
An opinionated app shell for ReScript & React progressive web apps
Stars: ✭ 62 (+313.33%)
Mutual labels:  pwa
magento-2-ajax-cart
Magento 2 Ajax Cart allows customers to add products to cart right on the current window without having to redirect to another page. Completely reduce redirect wait times and improve the shopping experience.
Stars: ✭ 16 (+6.67%)
Mutual labels:  magento2
magento2-module-slack
Magento 2 Module to send Notifications to a Slack Channel via Webhook.
Stars: ✭ 14 (-6.67%)
Mutual labels:  magento2

Razorpay Payment extension for Vue Storefront

Razorpay Payment extension for vue-storefront, by Aureate Labs

Razorpay Payment

Experience the Razorpay Payment demo here

Installation

By hand (preferer):

git clone https://github.com/aureatelabs/vsf-payment-razorpay.git ./vue-storefront/src/modules/payment-razorpay

Add the following config to your config/local.json and configure the razorpay.key & razorpay.keySecret to point to your Razorpay credential details.

"razorpay" : {
  "method_code": "razorpay",
  "title": "Razorpay",
  "endpoint": "http://localhost:8080/api/ext/payment-razorpay",
  "api_url": "https://checkout.razorpay.com/v1/checkout.js",
  "key": "{{RAZORPAY-KEY}}",
  "keySecret": "{{RAZORPAY-KEY-SECRET}}",
  "merchant": "Magento",
  "theme": "#F37254",
  "notes": {
    "Title": "Description"
  }
}

Registration the Razorpay Payment extension

Add script import to ./src/modules/index.ts

...
import { Razorpay } from './payment-razorpay'

export const registerModules: VueStorefrontModule[] = [
 ...,
 Url,
 Razorpay
]

Customization

You can also customize the appearance of Razorpay elements using some of following config.

"razorpay" : {
  "title": "Razorpay",
  "merchant": "Magento",
  "theme": "#F37254",
  "notes": {
    "Title": "Description"
  }
}

Razorpay Payment API extension

Install additional extension for vue-storefront-api:

$ cp -f ./API/payment-razorpay ../vue-storefront-api/src/api/extensions/

Add the following config to your ./vue-storefront-api/config/local.json for Registration

"registeredExtensions": [
  ...
  "mail-service",
  "payment-razorpay"
],

Need to install razorpay extension dependency by running following command on root of vue-storefront-api directory

sudo npm i razorpay
sudo yarn install

Configure the razorpay.key & razorpay.keySecret to point to your Razorpay credentials details in ../vue-storefront-api/config/local.json.

"extensions": {
  ...,
  "razorpay": {
    "key": "{{RAZORPAY-KEY}}",
    "keySecret": "{{RAZORPAY-KEY-SECRET}}"
  }
},

Magento 2 integration

Make sure Razorpay Magento 2 extension should be configured properly at Magento instance.

After Installation, Go to vendor/razorpay/magento/Model/PaymentMethod.php file and replace line no. 228 with below:

'razorpay_order_id'   => $request['paymentMethod']['additional_data']['rzp_order_id'] ?? $this->order->getOrderId(),

License

This project is licensed under the MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].