Closed (fixed)
Project:
Webpay
Version:
8.x-2.x-dev
Component:
User interface
Priority:
Major
Category:
Support request
Assigned:
Reporter:
Created:
30 Apr 2020 at 03:08 UTC
Updated:
16 May 2020 at 21:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mnico commentedHi, have you tried changing the file extension from .crt to .pem and uploading it?
If not working try to change the file src/Form/WebpayConfigForm.php from
to
Regards
Comment #3
Feliguez commentedThanks mnico, I changed it and it works!
I'm afraid with this solution introduced a bug into my certification environment because transbank uses two different extensions per environment. And also break my module on future updates. Thanks again, regards.
Comment #4
mnico commentedSo the best solution might be to allow both extensions. Solution that should come in the new version of the module.
I will try to upload a patch soon and I will ask you for help so you can test it, to see if it works in both environments.
Comment #5
mnico commentedHello, I attach the patch. Please tell me if with this you could continue using both environments.
Comment #6
Feliguez commentedHi, I'm trying to apply that patch but it's been skipped. I'm running the following code from Webpay root directory:
git apply -v upload-production-certificate-3132315-5.patchMy Terminal returns
Skipped patch 'src/Form/WebpayConfigForm.php'.when I execute that commandComment #7
mnico commentedWhat version of the module are you using? 8.x-2.0-beta1?
I have been able to apply the patch in version 8.x-2.0-beta1 and 8.x-2.0-dev, is it possible that you have other modifications applied?
Well, the patch only adds the ability to attach files with .pem and .crt extensions.
To the variable "client_certificate" also just in case.
Comment #9
mnico commentedWell the patch was applied so I will close this issue. I think you failed to apply the patch because you had already changed the code by my suggestions from the first comment.