PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

[MODULE] Pay By Phone Module V0.9

52 replies to this topic
#1
batevladi

    PrestaShop Apprentice

  • Members
  • PipPip
  • 82 posts
Hi All,
please see attached a Pay By Phone module.
I am sure many have done the same thing as I did - copied one of the current modules and remodelled it to work for pay by phone (I used Cheque as a base)... here is an update version which is complete with email templates and its own status. I have tested on 1.1 please test on your systems and let me know if it there are any bugs that need to be fixed etc.

What does it do:
This module allows a customer to complete their order on your website and then call your call centre/shop/customer services/automated payment system and complete their order payment directly with an agent. It requires that whoever answers the telephone is aware of the process of payment for that shop... goes without say.
The module creates its own Order State, and also provides with an email template. Once the payment is cleared, the order needs to be updated accordingly and the order processed as required.

To install, please unzip in your PS root directory so that the module and the email templates will populate... in the back-end, you can install the module and configure the telephone number to be called.
Please check the Order Status that "Send email to client" is activated and the correct template (paybyphone) is selected.

TO DO:
Languages. The module is currently only available in English, I would appreciate if other language translations are added! email me and I can update the file with the language packs.
Image. I have found this image in a pile I had from somewhere... if there is a better suggestion, please let me know.

Hope you find it useful! Have fun!
Vlad

Attached Files



#2
Star

    PrestaShop Addict

  • Members
  • PipPipPip
  • 618 posts
Thank you for the module, it is great. Thanks again.

#3
Kangaroo

    PrestaShop Apprentice

  • Members
  • PipPip
  • 30 posts
hello Vlad,

thank you for your great contribution. it is great for the business who runs a call center.

indeed i was try to mod a payment module for western union or money gram. i simply replace some words in those tpl. i am pretty sure i should miss something as i always got the message "hack attempt(OrderHistory ->id_order_state is empty)". if i know php, i wish i could figure it out but just the oposite i don't php at all. shame on me. so i am wonder if you could provide some hints. much appreciated!!!

thanks,
ken

#4
batevladi

    PrestaShop Apprentice

  • Members
  • PipPip
  • 82 posts
Hi Ken, thanks. Parameters in the PHP files are linked to the TPL files. Am afraid that just changing some text in the TPL files may not be enough to get the desired results.

I will suggest that you PM me with the module files or open a new thread with a description of what you would like to achieve and post your work so people may help you.

Regards,
V

#5
Ehinarr

    Sir

  • Members
  • PipPipPipPip
  • 1134 posts
It is possible to adapt this module to work as a cell phone payment module?
My Blog
PS v1.4.7.0

#6
batevladi

    PrestaShop Apprentice

  • Members
  • PipPip
  • 82 posts
Hi Ehinarr,

What do you mean by this? Please PM me with your specification.

Currently, this module completes the order, informs you and the customer that they need to call your shop on a pre-configured telephone number to clear off the payment.

V

#7
Ehinarr

    Sir

  • Members
  • PipPipPipPip
  • 1134 posts

From 1237666515:

Hi Ehinarr,

What do you mean by this? Please PM me with your specification.

Currently, this module completes the order, informs you and the customer that they need to call your shop on a pre-configured telephone number to clear off the payment.

V


Hi, batevladi

I will do it as soon as possible.

Regards
My Blog
PS v1.4.7.0

#8
Dio

    PrestaShop Apprentice

  • Members
  • PipPip
  • 134 posts
Thank you for the module, it is great

#9
junnecito

    PrestaShop Fanatic

  • Moderators
  • 1193 posts
Hi batevladi
I will traslate it into spanish and franch.
When done will send it to you.
Thanks for your work.

;-)

#10
junnecito

    PrestaShop Fanatic

  • Moderators
  • 1193 posts
I just send you the module translated in PM.
Have a good day. ;-)

#11
jeremy

    PrestaShop Apprentice

  • Members
  • PipPip
  • 45 posts
brilliant, thanks.

#12
batevladi

    PrestaShop Apprentice

  • Members
  • PipPip
  • 82 posts
thanks junnecito - but I did not get anything from you.

#13
lucky

    PrestaShop Newbie

  • Members
  • Pip
  • 19 posts
Hi,

Nice Module...Great Job:)
Just wanted to report one small Typo mistake.
The Payment screen says : "Telephone nubmer to call for payment will be displayed on the next page. "
It should be "number" instead of "nubmer".

lucky

#14
netrover

    PrestaShop Newbie

  • Members
  • Pip
  • 19 posts
This is brilliant, exactly what I wanted and have been waiting for.

Thanks very much and far better than trying to store customer card numbers.


edit: spotted another spelling error on status.
Awaiting Customner to Call

#15
lizabar

    PrestaShop Newbie

  • Members
  • Pip
  • 3 posts
why not modifying the standard creditcard module with a checkbox that allows to validate an order without entering card details?

#16
batevladi

    PrestaShop Apprentice

  • Members
  • PipPip
  • 82 posts
Hey you guys! Glad you are using! have made the updates - the errors are in files:
-- The status message you can update in Presta's admin back-end (if you have the module installed) or in file paybyphone.php - line 170, before installation (thank you Netrover!)
-- The number misspell is updatable in payment_execution.tpl line 49 (thank you lucky!)

I will post an updated version shortly (am travelling and have no connection to my SVN to update the version).

As for updating the CC module update, well, lizabar, I guess you will need to repost your question in that thread...

Happy use!
V

#17
iwans

    PrestaShop Newbie

  • Members
  • Pip
  • 16 posts
ok I can try? thanks

#18
JamesF

    PrestaShop Newbie

  • Members
  • Pip
  • 3 posts
nice work. I got it installed correctly but I get a Server Error when I try to click that option:

"The server encountered an internal error or misconfiguration and was unable to complete your request."

Any ideas what this would be?

http://www.westcoast...les/paybyphone/

thanks for the help!

James

#19
shacker

    PrestaShop Superstar

  • Moderators
  • 5414 posts
Great module. Thanks for sharing

#20
junnecito

    PrestaShop Fanatic

  • Moderators
  • 1193 posts
I hope you get it this time.