Jump to content

"Payment Methods" in the order view.


Mikmoro

Recommended Posts

Good morning. Could anyone tell me where the "Payment Methods" drop-down menu appears in the "Payments" box when editing an order? I have the Redsys module installed for card and Bizum payments, which works perfectly, but the Bizum method doesn't appear in the drop-down menu. I don't know where the options in that drop-down menu appear, since, for example, "Cash Payment" appears, but obviously, it's not an installed payment method. I can't find it.

Thank you. Best regards.

Link to comment
Share on other sites

I think it's not a dropdown. It's a normal input field in which you have to enter the thing manually. If anything is visible on the same, then it might be due to Browser autocomplete.

This payment field is independent of the website payment because, in the case of payment collection later after the order placement, there can be many ways to collect the payment independent of the website payment methods.

 

 

Link to comment
Share on other sites

  • 4 weeks later...

Hello,

 

On the order page, the payment options displayed are those that are installed, active, and registered to the paymentOptions hook by the module.

 

Please refer to the following screenshots for reference:

https://prnt.sc/4pAtfMD1NUNF 

https://prnt.sc/QKaGjto2pIKw 

 

If you want to display the Redsys module, you need to check and update the relevant function, as this function prepares the list of available payment options:

https://github.com/PrestaShop/PrestaShop/blob/8.2.0/classes/PaymentModule.php#L887 

 

Note: This function is used throughout the PrestaShop system, so any changes should include the necessary conditions to ensure compatibility across all pages.

 

Best regards.

Edited by Webkul Solutions (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

Thank you for your response. As I mentioned in my first message, the problem is that the Redsys module contains two payment methods: card and Bizum. However, the order payment drop-down menu only offers card payment, not Bizum.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...