csob / platebnibrana

Česká dokumentace ČSOB platební brány a jejího eAPI pro platby platebními kartami, Apple Pay, Google Pay, mallpay a platebními tlačítky ČSOB.
https://platbakartou.csob.cz/platebni-brana
GNU General Public License v3.0
7 stars 1 forks source link

401 Unauthorized - {"resultCode":110,"resultMessage":"Wrong signature"} #47

Open haskadavid opened 1 year ago

haskadavid commented 1 year ago

Dobrý den, podobný problém zde již viděl, ale nepodařilo se nalézt řešení.

Při inicializaci platby "payment/init" se objeví tato chyba.

Merchant ID: M1EPAY0821

Testovací prostředí.

Request: `{

merchantId: "M1EPAY0821"

+orderNo: "457"

totalAmount: 43591

+origPayId: null +currency: "CZK" +closePayment: true +returnUrl: "http://localhost:8010/api/csob/return" +returnMethod: "POST"

cart: array:1 [

0 => array:4 [
  "name" => "Produkty"
  "quantity" => 1
  "amount" => 43591
  "description" => ""
]

] +description: "..."

merchantData: null

+customerId: "" +language: "cs"

dttm: "20230918122224"

+payOperation: "payment" +payMethod: "card"

foreignId: null

+ttlSec: 1800 +logoVersion: null +colorSchemeVersion: null

customer: null

order: null

customExpiry: null

-fieldsInOrder: array:19 [ 0 => "merchantId" 1 => "origPayId" 2 => "orderNo" 3 => "dttm" 4 => "payOperation" 5 => "payMethod" 6 => "totalAmount" 7 => "currency" 8 => "closePayment" 9 => "returnUrl" 10 => "returnMethod" 11 => "cart" 12 => "customer" 13 => "*order" 14 => "description" 15 => "merchantData" 16 => "customerId" 17 => "language" 18 => "ttlSec" ] -auxFieldsInOrder: array:3 [ 0 => "logoVersion" 1 => "colorSchemeVersion" 2 => "customExpiry" ] }`