Payment Gateway

Mar 19th, 2013
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_filter('em_booking_output_placeholder','my_em_get_payment_type',1,3);
  2. function my_em_get_payment_type($replacement, $EM_Booking, $result){
  3. if (is_object($EM_Booking)) {
  4. if ($result == '#_PAYMENTGATEWAY') {
  5. $replacement = $EM_Booking->booking_meta['gateway'];
  6. }
  7. }
  9. return $replacement;
  10. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add to your ad blocker whitelist or disable your adblocking software.