Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/22/2020 in all areas

  1. Presently there's no way to access the suspension reason within the suspendService() method in modules. Looking at the source in app/models/services.php this is because the updated suspension_reason isn't set until after suspendService() runs, thus the suspension_reason field in the $service object is incorrect (ie it's the old/previous reason, if any). It would be great to be able to pass this value along to modules which may have their own methods of notifying customers, taking actions, etc.
    1 point
  2. kepler

    Stripe zip code

    Hi, Thanks for the reply. For anyone who might need, we just have to go that file ( components/gateways/merchant/stripe_payments/views/default/cc_form.pdt ), and in the line: // Create an instance of the card Element. var card = elements.create('card', {style: style}); change it to (hide the zip option): // Create an instance of the card Element. var card = elements.create('card', {style: style, hidePostalCode : true}); There are several settings and options we can control described at: https://stripe.com/docs/js/elements_object/create Best regards, Kepler
    1 point
×
×
  • Create New...