Discussions

Ask a Question
Back to All

403 and 500 errors when on Update 'ACCEPT'

Hello,

I get 403 and 500 error when trying to update payments.

I have no errors on other calls.

Here is some examples (I have deliberately hidden the authorization content I sent):

======================================

PUT https://authservices.satispay.com/g_business/v1/payments/93603ab0-cc3a-4cab-890c-400d4c90c55d
HEADER=Array
(
[Accept] => application/json
[User-Agent] => SatispayOnlineApiPhpSdk/2.0.0
[Date] => Fri, 22 Jan 2021 18:03:18 +0000
[Content-Type] => application/json
[Content-Length] => 75
[Digest] => SHA-256=sh5JbXZHKdj6SWahDjbGZkwLkpCG/oC6IsEAxBWCTXc=
[Authorization] => ****
)

BODY=Array
(
[transaction_id] => 93603ab0-cc3a-4cab-890c-400d4c90c55d
[action] => ACCEPT
)

Error 500

PUT https://authservices.satispay.com/g_business/v1/payments/fa8327b1-979a-4138-986a-5f13664c33b6
HEADER=Array
(
[Accept] => application/json
[User-Agent] => SatispayOnlineApiPhpSdk/2.0.0
[Date] => Fri, 22 Jan 2021 13:24:10 +0000
[Content-Type] => application/json
[Content-Length] => 75
[Digest] => SHA-256=iiIdQSjpwce0olf+oc1E6eYMDl3NMBHwyKNqmosDsdw=
[Authorization] => ****
)

BODY=Array
(
[transaction_id] => fa8327b1-979a-4138-986a-5f13664c33b6
[action] => ACCEPT
)

403

PUT https://authservices.satispay.com/g_business/v1/payments/c8ba02d7-3ae8-4d7d-a441-fb39d0c57752
HEADER=Array
(
[Accept] => application/json
[User-Agent] => SatispayOnlineApiPhpSdk/2.0.0
[Date] => Sat, 16 Jan 2021 22:07:30 +0000
[Content-Type] => application/json
[Content-Length] => 75
[Digest] => SHA-256=w5xghm/SMIZwwXusXblXfiAWaJnV24TjKpCsXMFCwQQ=
[Authorization] => ****
)

BODY=Array
(
[transaction_id] => c8ba02d7-3ae8-4d7d-a441-fb39d0c57752
[action] => ACCEPT
)

Error 500

  1. PUT https://authservices.satispay.com/g_business/v1/payments/b6836d1a-f9ac-4090-b813-52a1cc8af319
    HEADER=Array
    (
    [Accept] => application/json
    [User-Agent] => SatispayOnlineApiPhpSdk/2.0.0
    [Date] => Sat, 16 Jan 2021 09:49:17 +0000
    [Content-Type] => application/json
    [Content-Length] => 75
    [Digest] => SHA-256=iPJkOJsnIOBMEGRuBjbNthmtbHG9ajkP5758N9rZzhw=
    [Authorization] => ****
    )

BODY=Array
(
[transaction_id] => b6836d1a-f9ac-4090-b813-52a1cc8af319
[action] => ACCEPT
)

Error 403

===================================================

I can give you other examples if required.

Could you tell me what I got wrong ?

Thanks,
Yann