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
Comment #2
agoradesign commentedComment #4
agoradesign commenteduse at your own risk.. in test mode it behaves a little bit strange, as there's nothing to input, but direct success
Comment #6
agoradesign commentedlast commit re-adds the SIBS_ENV parameter in test mode... however, there's still a lot of work to do
Comment #7
agoradesign commentedComment #9
agoradesign commentedComment #12
agoradesign commentedWe 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
Comment #18
agoradesign commentedlet's close this issue. If we encounter any problems during testing, we'll open follow-up issues instead.
Comment #19
agoradesign commentedComment #21
filipetakanap commentedHello,
In which file do I add parameters? My bank wants:
customParameters[SIBS_ENV]=QLYThanks
Comment #22
agoradesign commentedThis 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
Comment #23
filipetakanap commentedThank 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)...
Comment #24
agoradesign commentedok.. well, that's quite a hacky solution though