Jump to content
sors

[MODULE][FREE] Universal Payment Module

Recommended Posts

Hello, 

In my module i've added custom fields before order confirmation.

Is there a way to send them to admin's mail when the user confirm oder? 

Share this post


Link to post
Share on other sites

Hello

First i whant to say that i like this script.
But now i´m stuck with a problem.

I create 3 payments.
1. letter asaign to carrier "Letter" Link : http://prntscr.com/eza25w
2. cod asaign to carrier "cod" Link : http://prntscr.com/eza2hn
3. prepayments asaign to carrier "prepayments" Link : http://prntscr.com/eza2rl

This is the 3 carrier.
post-391014-0-18340000-1492806526_thumb.png

and the different produkts i add.
letter - weight: 0.001000 shipping letter
cod - weight: 1.000000 shipping cod
prepayments - weight: 10000.000000 shippipng prepayments

When i order some produkts i whant it to be the higest carrier.
And payments.

Now is my carrier Blue and i see all the payments..
carrier in cart : http://prntscr.com/eza8va
Payments: http://prntscr.com/eza9fa

This is a big problem for me, and i hope someone can help me
 

Share this post


Link to post
Share on other sites

Hello,

 

 

 

Thanks a lot for the free module it help me a lot, but I am having problem when I upload a logo image in the module back office.

 

 

I have do it a lot of times, but when I check in my online store it does not appear any logo ... (Deposito en efectivo cuenta rut)

 

¿Does need a special size? .. (By the way I have uploaded logos not so big like normal size)

 

 

PachVkV.png

Share this post


Link to post
Share on other sites

Hello,

 

Thanks for this wonderful add-on. It works.I have 3 questions as i can't figure it out on my own.

 

 

1) When using %order_id% in 'Description success' it render order ID with hashtag '#' as #RGADERTAny idea on how to exclude hastag from it to get just RGADERT as a result?

 

2) Is it possible to render %total% amount without a currency sign/text? I do not want result as USD 145, USD 600 etc, but instead 145, 600 etc?

 

3) Which control value to use to show currency? I've tried %currency_id% but without success.

 

 

Any help will be highly appreciated.

 

Cheers.

 

Hi again!)

 

1) without hashtag '#'

https://github.com/prestalab/universalpay/blob/master/universalpay.php#L171

Replace on:

'' . $params['objOrder']->reference,

AND

https://github.com/prestalab/universalpay/blob/master/universalpay.php#L220

Replace on:

array(Tools::DisplayPrice($params['order']->total_paid), '' . $params['order']->reference),

 

2) without a currency sign/text

https://github.com/prestalab/universalpay/blob/master/controllers/front/payment.php#L43

Replace on:

array($total),

 

Have a nice day! ;)

Edited by cosmoll (see edit history)

Share this post


Link to post
Share on other sites

Is anyone working on 1.7 support? I have managed to install the module on 1.7, however, the payment systems menu is not there to configure the payment types.

Share this post


Link to post
Share on other sites

Hi For some reason after uploading in 1.6 , I cannot see the module in the backend option modules to configure.

Could you please help?

 

Share this post


Link to post
Share on other sites

Probably this has been asked before but I do not know how to search only in this thread.

 

I am looking for a way to restrict visability of this or any other payment option to either of the following two conditions:

 

  1. user has filled out field "company" when registering
  2. user has already checkout successfully and paid in the past (may be with option to set how many days in the past at minimum).

 

Any chance to integrate this easily?

Share this post


Link to post
Share on other sites

Hi For some reason after uploading in 1.6 , I cannot see the module in the backend option modules to configure.

Could you please help?

 

I have the same problem !!! Can anyone help us? : ((

 

I have Prestashop versions - 1.6.1.14

Edited by games-keys (see edit history)

Share this post


Link to post
Share on other sites

@gamke-keys: have you renamed the content inside the zip-file?

 

It must contain universalpay instead of universalpay-master.

If you don't change this, you get a success message after install but the module is actually not loaded.

Edited by Scully (see edit history)

Share this post


Link to post
Share on other sites

Hello,

 

First of all i'd like to say thank you to the developer. I just started testing some days age but almost everything works good so far.

There is one little question, which was already asked at about page 15 some time ago.

 

When an order is created from frond end, the order gets the full payment method name stored in table ps_orders field payment.

When an order is created from back office, I haven't seen how I could manage the payment methode used. In ps_orders field payment it only shows the general text 'universal payment' but not its method.

 

Any change to overcome this?

best regards and thank for all help.

Share this post


Link to post
Share on other sites

hey !

 

huge problem : i have install everything, setup the payment system, but it does not appears on front end in the end of the order.

 

i have check everything and i looks fine, but nothing appears. i have 3 payment systems, but only 2 appears... can you help me please ? urgent !!

post-1436548-0-79551000-1505652110_thumb.png

post-1436548-0-34884500-1505652111_thumb.png

post-1436548-0-80919000-1505652111_thumb.png

Share this post


Link to post
Share on other sites

Restrictions by customer group or country would be my first guess. => backoffice => modules => payment. Scroll down to the very end of this page and there you see further details.

Share this post


Link to post
Share on other sites
On 25.07.2016 at 3:16 PM, sors said:

v3.0.0 for PrestaShop 1.7

  • PrestaShop 1.7 support

Before installation rename directory in archive to "universalpay"

 

https://github.com/prestalab/universalpay/archive/ps17.zip

 

PrestaShop v1.7.0.0 Beta2 have some problems with generating invoice. Also I cant find Show HTML button in description

not work with ps 1.7.4.2 ?

Share this post


Link to post
Share on other sites

Hello,

 

We've got a problem, I don't know if it's with Prestashop or your module, but it happen sometimes to have duplicate order. These orders have different order id but same cart id, they have exactly same order date. I don't know why it's happenning, it's not always. Have you got an idea ?

I'm using Prestashop v1.6.1.9 and universalpay v2.4.0

 

If want want more informations tell me.

 

Thanks

Share this post


Link to post
Share on other sites

 

I installed Universalpay v3.0 with prestashop 1.7 when I click on Pay Systems tab

Captura.JPG.9715f67f30da30b6c8fc79a48964ea9b.JPG

I get error 500, this is PHP error: 

Fatal error: Call to a member function trans () on null in ....../classes/controller/AdminController.php on line 2754

some solution or suggestion??

Captura2.thumb.JPG.f4ea0ff4e3d6f98ad93e3344af8c225e.JPG

AdminController.php

Edited by eridamega (see edit history)

Share this post


Link to post
Share on other sites

Is there any version what works with PS 1.7.2.4 please???

 

the above mentioned github...ps1.7zip contains v2.2 instead of v3 and already v2.4 available on github..

 

so what is the truth? wich version do I need to use?

 

 

Share this post


Link to post
Share on other sites

Hello,
I've installed this module on PS 1.6.1.

I want to add a link to the button "I confirm my order", so the customer arrive to an external page.

Is it possible because I don't see this on the backend ?

 

Share this post


Link to post
Share on other sites
On 15/1/2018 at 12:09 AM, eridamega said:

 

I installed Universalpay v3.0 with prestashop 1.7 when I click on Pay Systems tab

Captura.JPG.9715f67f30da30b6c8fc79a48964ea9b.JPG

I get error 500, this is PHP error: 

Fatal error: Call to a member function trans () on null in ....../classes/controller/AdminController.php on line 2754

some solution or suggestion??

Captura2.thumb.JPG.f4ea0ff4e3d6f98ad93e3344af8c225e.JPG

AdminController.php

?? No one?? please

Edited by eridamega (see edit history)

Share this post


Link to post
Share on other sites
On 03/03/2015 at 8:32 PM, sors said:
v 2.0.0
+ Added input fields before order confirmation
+ BugFix text after confirmation
+ Refractoring
 
Now you can add fields to order confirmation field and see values of this field in order admin page.
 
In pay system setting in descripton field set additional fields code:
  • press Source code button </>
  • paste inputs html code with name prefix up_

<div class="required form-group">
	<label for="up_name">Name <sup>*</sup></label>
	<input class="is_required form-control" required="required" type="text" id="up_name" name="up_name">
</div>
<div class="form-group">
	<label for="up_country">Country</label>
	<select id="up_country" class="form-control" name="up_country">
		<option value="France">France</option>
		<option value="Uganda">Uganda</option>
	</select>
</div>

This code add text input field with name "name" and select "country" (up_name and up_country). Also you can add differnt elements: checkbox, radio, textarea...

post-80483-0-39646300-1425410691_thumb.png

post-80483-0-83566700-1425410694_thumb.png

i want to put an input file, it is possible and how we can handle it ?

Share this post


Link to post
Share on other sites
On 15/2/2018 at 1:50 PM, r00t3r said:

Guys help me i install module but if i try to add custom payment give me page not found ps 1.7

 

 

pssupport2.png

pssupport.png

Buscando en Internet encontré estas posibles soluciones, las intenté pero ninguna me funcionó, alguna idea al respecto. Prestashop 1.7.3.0 Universal pay V3.0.0


Searching the Internet I found these possible solutions, I tried them but none of them worked for me, any ideas? Prestashop 1.7.3.0 Universal pay V3.0.0

Forum prestashop

h-hernes.fr...

Fundaa.com...

Alguna idea??

Share this post


Link to post
Share on other sites

Guys why in backoffice area in orders if i want to choose payment method here stay universal payment ..... ? How to fix this i want to select payment method from backoffice 

Share this post


Link to post
Share on other sites

I made a fork with a patch to work on prestashop 1.7.4.2

https://github.com/dtix/universalpay/archive/master.zip

Download, extract, rename the inside folder (project folder) to universalpay, archive it to universalpay.zip

 

Or download the module https://github.com/dtix/universalpay/blob/download/universalpay.zip

It may conflict with other modules.

Edited by dtix (see edit history)

Share this post


Link to post
Share on other sites
On 14.09.2018 at 6:04 PM, dtix said:

I made a fork with a patch to work on prestashop 1.7.4.2

https://github.com/dtix/universalpay/archive/master.zip

 

Thank You. I was able to install module but in config page I have only one switch and "Add payment methods on Modules>Pay Systems tab " alert. This link is broken and PaySytem Tab dos not exist. Can You point me how to get to this (payments configuration) page?

Share this post


Link to post
Share on other sites
1 hour ago, sitte said:

 

Thank You. I was able to install module but in config page I have only one switch and "Add payment methods on Modules>Pay Systems tab " alert. This link is broken and PaySytem Tab dos not exist. Can You point me how to get to this (payments configuration) page?

 

After module installation, on the left panel under the Payment, a link with "Pay Systems" is added. It should get you to the "Pay Systems" page where you have add(+) button (top right). The link is /admin/index.php?controller=AdminUniPaySystem&token=*** . If you don't use english, try to translate it first.  If you find the problem, let me know to add the solution in this fork, at least in the documentation.

Share this post


Link to post
Share on other sites

Unfortunately there is no menu position:

image.png.c49969327a2a39400c3fb37a9c829689.png

 

Opening url /AdminDir/index.php?controller=AdminUniPaySystem&token... gets me error:

Page not found:

image.png.bf2a48d2f8c040e5c23490a76b81b6f1.png

 

It looks like there is no such controller.

Prestashop 1.7.4.2, cache is disabled, cashe is manually cleared.

 

Share this post


Link to post
Share on other sites
44 minutes ago, sitte said:

Unfortunately there is no menu position:

image.png.c49969327a2a39400c3fb37a9c829689.png

 

Opening url /AdminDir/index.php?controller=AdminUniPaySystem&token... gets me error:

Page not found:

image.png.bf2a48d2f8c040e5c23490a76b81b6f1.png

 

It looks like there is no such controller.

Prestashop 1.7.4.2, cache is disabled, cashe is manually cleared.

 

I made now a version, download it from: https://github.com/dtix/universalpay/blob/master/universalpay.zip

Let me know if it works.

 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
7 minutes ago, Soyons zen said:

 

Thank you friend, what do you change on the latter?

Nothing changed, it is the same. It wasn't properly to have that .zip file on the master branch. I uploaded on the other location. Let's not pollute this thread with our chat, write me a private message if is needed. Good luck with your project!

  • Like 1

Share this post


Link to post
Share on other sites

Hello. On order submision I get error like this. When I choose other payument method then it works fine but on any Universal Payment payment method I get the same error. Presta 1.7.4.2

up.jpg

Share this post


Link to post
Share on other sites
1 hour ago, sitte said:

Hello. On order submision I get error like this. When I choose other payument method then it works fine but on any Universal Payment payment method I get the same error. Presta 1.7.4.2

up.jpg

You have an older version, download a new one or modify the next file:

universalpay/controllers/front/payment.php

Line 54: $this->setTemplate('module:universalpay/views/templates/front/payment_execution.tpl');

 

Share this post


Link to post
Share on other sites
On 9/25/2018 at 12:25 AM, dtix said:

I'm glad it helped.

 

I changed the link, just download and install.

https://github.com/dtix/universalpay/blob/download/universalpay.zip

 

Hi!)

I'm  installed on version 1.7.4.4

the module is installed, but the problem is repeated

On 9/24/2018 at 7:15 PM, dtix said:

 

After module installation, on the left panel under the Payment, a link with "Pay Systems" is added. It should get you to the "Pay Systems" page where you have add(+) button (top right). The link is /admin/index.php?controller=AdminUniPaySystem&token=*** . If you don't use english, try to translate it first.  If you find the problem, let me know to add the solution in this fork, at least in the documentation.

help please solve this problem

Share this post


Link to post
Share on other sites
On 12/10/2018 at 5:07 PM, cosmoll said:

Hi!)

I'm  installed on version 1.7.4.4

the module is installed, but the problem is repeated

help please solve this problem

I upgraded to 1.7.4.4 and my version works. What error do you have?

Share this post


Link to post
Share on other sites

Hello peps,

 

I have a big problem :

 

So I run Prestashop 1.6.1.23 and I have installed the file for the UniversalPay Module. I have created the 2 payments I wanted, both for different types of Zones. They are online. But when I make the checkout test, it won't appear. How can I solve this? Please help me

Share this post


Link to post
Share on other sites

Hello,

Thanks for the module !

Is it possible to align text after the image please ?
(first choice is original Ps Module and second choice is this module)

bcMxgu1.jpg

Edited by P i l o u (see edit history)

Share this post


Link to post
Share on other sites

hello,

Your addons looks very intresting and I really need something exactly like it but when I tried to upload it to my prestashop 1.6.1.23 nothing is there i can't find it in modules??

Share this post


Link to post
Share on other sites

Hi. I was wondering if you could help. I have installed the module, set up the payment on Admin side, I can see it and select it on the front side, but I get 500 Error as soon as I click 'Submit Order'. There is no confirmation page coming up and no e-mail going to the customer. I'm using PS 1.7.4.0. How do I fix it? I have installed the latest version I think.

Screen Shot 2019-04-23 at 10.46.59 AM.png

Share this post


Link to post
Share on other sites

Hello,

I install version 3.0 but I have a problem on confirm order page :

Warning: Declaration of UniversalpayValidationModuleFrontController::setTemplate($default_template) should be compatible with ModuleFrontControllerCore::setTemplate($template, $params = Array, $locale = NULL) in mywebsite/modules/universalpay/controllers/front/validation.php on line 11
____________________________________________________
 (1/1) ContextErrorException

Warning: Cannot modify header information - headers already sent by (output started at mywebsite/modules/universalpay/controllers/front/validation.php:11)
____________________________________________________
in Tools.php line 196
____________________________________________________
at ToolsCore::redirect('mywebsite/confirmation-commande?id_cart=21&id_module=89&id_order=12&key=54f0e2063b7ed201ee35778018181902&id_universalpay_system=2')
in validation.php line 86
____________________________________________________
at UniversalpayValidationModuleFrontController->postProcess()
in Controller.php line 270
____________________________________________________
at ControllerCore->run()
in Dispatcher.php line 511
____________________________________________________
at DispatcherCore->dispatch()
in index.php line 28

Thanks for help

Share this post


Link to post
Share on other sites
On 8/9/2019 at 1:02 PM, bmcarvalho said:

oppps not installing for 1.7.6  :(

+

Share this post


Link to post
Share on other sites

Hello.  I just installed the module for 1.6. But I don't see it in my list of modules.

Can you help me please?

Thank you.

Renier

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More