SIBS_MULTIBANCO needs the following custom parameters:

  • customParameters[SIBSMULTIBANCO_PtmntEntty]
  • customParameters[SIBSMULTIBANCO_RefIntlDtTm]
  • customParameters[SIBSMULTIBANCO_RefLmtDtTm]

UPDATE

We need a very special treatment, including a custom route, that shows a payment reference to the customer:

"we have to process the parameter that brings the payment ref: "pmtRef" and show it to the client. this is for get the references and showing them to client.
then, he said that the best is to supply and endpoint where it is triggered an operation of type RC (receipt) when there is a payment of a reference. IN that RC goes the referenceID (the transaction ID of the reference generation -PA- not the payment ref itself) and the merchantTransactionID that identifies the shopping activity
but I think we can also query with cron about the status of the payment"

Comments

agoradesign created an issue. See original summary.

  • agoradesign committed f78ae67 on 8.x-1.x
    Issue #3072883 by agoradesign: Add a dedicated gateway plugin for...
agoradesign’s picture

use at your own risk.. in test mode it behaves a little bit strange, as there's nothing to input, but direct success

  • agoradesign committed a6e30bd on 8.x-1.x
    Issue #3072883 by agoradesign: Add a dedicated gateway plugin for...
agoradesign’s picture

last commit re-adds the SIBS_ENV parameter in test mode... however, there's still a lot of work to do

agoradesign’s picture

Issue summary: View changes

agoradesign’s picture

  • agoradesign committed 4dc5379 on 8.x-1.x
    Issue #3072883 by agoradesign: Add a dedicated gateway plugin for...

  • agoradesign committed 25298bf on 8.x-1.x
    Issue #3072883 by agoradesign: Add a dedicated gateway plugin for...
agoradesign’s picture

We are now rather close to the final implementation... first we have to implement #3073587: Save the checkout ID in a dedicated field as a pre-condition for finishing the transaction status refreshment

  • agoradesign committed a487857 on 8.x-1.x
    Issue #3072883 by agoradesign, jrochate: Add a dedicated gateway plugin...

  • agoradesign committed bb77e46 on 8.x-1.x
    Issue #3072883 by agoradesign, jrochate: Add a dedicated gateway plugin...

  • agoradesign committed 964ee90 on 8.x-1.x
    Issue #3072883 by agoradesign, jrochate: Add a dedicated gateway plugin...

  • agoradesign committed a813f04 on 8.x-1.x
    Issue #3072883 by agoradesign, jrochate: Add a dedicated gateway plugin...

  • agoradesign committed 38c8c88 on 8.x-1.x
    Issue #3072883 by agoradesign, jrochate: Add a dedicated gateway plugin...
agoradesign’s picture

Status: Active » Fixed

let's close this issue. If we encounter any problems during testing, we'll open follow-up issues instead.

agoradesign’s picture

Category: Bug report » Task

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

filipetakanap’s picture

Hello,
In which file do I add parameters? My bank wants: customParameters[SIBS_ENV]=QLY
Thanks

agoradesign’s picture

This gets automatically added when "test" mode is active, see https://git.drupalcode.org/project/commerce_opp/-/blob/8.x-1.x/src/Plugi...

General information: there's currently no event allowing to add/modify the parameters

filipetakanap’s picture

Thank you for your awnser, but i guess that file is just for "Multibanco".
I've added the line in CopyAndPayBase.php and the bank is not complaining anymore (credit card)...

agoradesign’s picture

ok.. well, that's quite a hacky solution though