定制 rapidez/multisafepay 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rapidez/multisafepay

Composer 安装命令:

composer require rapidez/multisafepay

包简介

MultiSafePay support for Rapidez

README 文档

README

Requirements

You need the MultiSafePay Magento 2 and MultiSafePay Magento 2 GraphQL modules installed in your Magento 2 installation.

Installation

composer require rapidez/multisafepay

Then, in your magento -> configuration -> multisafepay -> general settings, enable custom return urls for PWA and use the following return URLs:

[your base rapidez url]/msp-return/cancel?quoteId={{quote.masked_id}}
[your base rapidez url]/msp-return/success?secureToken={{secure_token}}&orderId={{order.increment_id}}&paymentCode={{payment.code}}

Finally, note that MultiSafePay needs these magento URLs to work:

[your base magento url]/multisafepay/connect/success?[...]
[your base magento url]/multisafepay/connect/cancel?[...]
[your base magento url]/multisafepay/connect/notification?[...]

You will have to update your deployment to open up these specific URLs (i.e. to not redirect these to your rapidez frontend).
For example, for a standard rapidez installation you can update the regex as seen in the Rapidez docs deployment page to include multisafepay.

Views

You can publish the views with the following command:

php artisan vendor:publish --provider="Rapidez\MultiSafePay\MultiSafePayServiceProvider" --tag=views

Development note

When you're developing using the MultiSafePay API in testing environments, you might run into the issue that the API returns an empty payment URL. This happens when you try to make an order with an Order ID that already exists in your MultiSafePay testmerchant account, which is common if you use the same site ID on different environments.

To avoid this issue, make sure that every individual environment has its own individual site in your testmerchant account.

统计信息

  • 总下载量: 4.39k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 10
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-03-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固