bitnami / vms

Bitnami VMs
https://bitnami.com
Other
203 stars 42 forks source link

[Magento 2] Paypal integration #1386

Closed kypanz closed 6 months ago

kypanz commented 6 months ago

Platform

Amazon Web Services

bndiagnostic ID know more about bndiagnostic ID

13f71aca-e9c0-5466-36b3-f338e0183e08

bndiagnostic output

===== Begin of bndiagnostic tool output =====

? Resources: Found possible issues                                                                                                                                                        
✓ Connectivity: No issues found                                                                                                                                                           
✓ Mariadb: No issues found                                                                                                                                                                
✓ Processes: No issues found                                                                                                                                                              
? Apache: Found possible issues                                                                                                                                                           
✓ Php: No issues found                                                                                                                                                                    

[Resources]

Your instance has little available RAM memory.

 total used free shared buff/cache available Mem: 3885 2164 444 174 1276 1264                                                                                                                 
Swap: 0 0 0                                                                                                                                                                                   

You could try to increase your instance's memory. Please check your cloud
provider's documentation for more information.

Press [Enter] to continue:
[Apache]

Found recent error or warning messages in the Apache error log.

[Wed Jan 24 19:52:44.696368 2024] [proxy_fcgi:error] [pid 578433:tid                                     
139872899483392] [client **ip_address**:52241] AH01071: Got error 'PHP message:                          
PHP Fatal error: Class Magento\Sales\Api\Data\OrderExtension contains 4 abstract                         
methods and must therefore be declared abstract or implement the remaining                               
methods (Magento\Sales\Api\Data\OrderExtensionInterface::getFinanceCostAmount,                           
Magento\Sales\Api\Data\OrderExtensionInterface::setFinanceCostAmount,                                    
Magento\Sales\Api\Data\OrderExt [Wed Jan 24 19:53:34.803224 2024]                                        
[proxy_fcgi:error] [pid 593147:tid 139873447937792] [client                                                                             
**ip_address**:52271] AH01071: Got error 'PHP message: PHP Fatal error: Class                                                           
Magento\Sales\Api\Data\OrderExtension contains 4 abstract methods and must                                                              
therefore be declared abstract or implement the remaining methods                                                                       
(Magento\Sales\Api\Data\OrderExtensionInterface::getFinanceCostAmount,                                                                  
Magento\Sales\Api\Data\OrderExtensionInterface::setFinanceCostAmount,                                                                   
Magento\Sales\Api\Data\OrderExt [Wed Jan 24 19:55:08.877889 2024]                                                                       
[proxy_fcgi:error] [pid 578433:tid 139873067337472] [client                                                                             
**ip_address**:52324] AH01071: Got error 'PHP message: PHP Fatal error: Class                                                           
Magento\Sales\Api\Data\OrderExtension contains 4 abstract methods and must                                                              
therefore be declared abstract or implement the remaining methods                                                                       
(Magento\Sales\Api\Data\OrderExtensionInterface::getFinanceCostAmount,                                                                                        
Press [Enter] to continue:                                                     
Magento\Sales\Api\Data\OrderExtensionInterface::setFinanceCostAmount,                                                                                         
Magento\Sales\Api\Data\OrderExt                                                

bndiagnostic was not useful. Could you please tell us why?

works

Describe your issue as much as you can

Hello guys, currently i cant use the paypal payment method, i am trying to debug around 4 days for my own, i configure all the things right but when i go to pay with paypal says

Attention
Something went wrong with your request, Please try again later.

Also if see the Network requests i can se an error on the request endpoint with status 500 :

https://example.com/paypal/express/onAuthorization

So based in the bndiagnostic response i am not sure, but i think need to change some permission or something like that, but to be honestly i wanna read another point of view, because i can be wrong and i need to do another thing

Thanks for read an have a good day :heart:

gongomgra commented 6 months ago

Hi @kypanz,

Thanks for using Bitnami. This issue seems to be more related to the Magento application itself than to Bitnami installation. We recommend you to check similar issues in the official Magento forums or open a new question there.

kypanz commented 6 months ago

Hi @gongomgra, thanks for the response, np, I will cancel the bitname service in aws and install magento on my own, I just thought that if bitnami provided a magento service these types of errors would not happen since paypal is the default payment method already integrated into the magento installation, but that's fine, I'll see how to solve it without bitnami, thanks for your time and for the response.

gongomgra commented 6 months ago

Hi @kypanz,

Thanks for your message. I'm sorry you have moved to another solution. Do not hesitate to open a new question if you decide to try our solution again in the future!