定制 ingenico-epayments/connect-extension-magento2-graphql 二次开发

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

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

ingenico-epayments/connect-extension-magento2-graphql

Composer 安装命令:

composer require ingenico-epayments/connect-extension-magento2-graphql

包简介

GraphQL support for the Ingenico Connect Magento 2 Module

README 文档

README

This module adds GraphQl support to the Ingenico Connect Module for Magento 2.

Please note that this module is currently in 0.x-release and should therefor be considered 'unstable'. This does not mean that the module will not work as expected but that it's public API is not definitive yet.

Usage

This module adds an option to GraphQl to generate a consumer session that you can use with the Ingenico mobile and browser SDK's.

Installation instructions

This module can be installed using Composer:

composer require ingenico-epayments/connect-extension-magento2-graphql

Example

The following GraphQl query will create a consumer session with Ingenico:

{
  ingenicoClientSession {
    assetUrl
    clientApiUrl
    clientSessionId
    customerId
    invalidTokens
    region
  }
}

Example response:

{
  "data": {
    "ingenicoClientSession": {
      "assetUrl": "https://assets.pay1.preprod.secured-by-ingenico.com/",
      "clientApiUrl": "https://ams1.preprod.api-ingenico.com/client",
      "clientSessionId": "ccf8ee1015944ab09e053411e683b43f",
      "customerId": "11492-214bf4b4d0db4321a5e006e0ec6f080b",
      "invalidTokens": null,
      "region": "EU"
    }
  }
}

Registered Customers in Magento

If you're making a request for a registered customer in Magento (a customer that is currently logged in), please make sure that you've generated a customer token and included it in the HTTP Headers.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 9
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-05-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固