Fix payment gateway for Joomla component

We have a payment gateway that worked correctly until we updated a Joomla component.

The payment gateway only works when URL rewriting is disabled. We need to make the modifications so that it works correctly with the URL rewrite option enabled.

Joomla Component Documentation:

[login to view URL]

Payment gateway Documentation (unfortunately only in spanish)

[login to view URL]

I attach the file that must be modified: [login to view URL]


Component developer suggestions:

1. POST, GET or REQUEST variables should be accessed by using the code $var = VikRequest::getString('NAME', '', 'request'); of course only in the main PHP file [login to view URL] which is called by Vik Booking.

2. I would recommend to store in a transaction file the rewritten notify, return and error URLs so that your static file [login to view URL] can read the correct URLs from this transaction file. This is the technique we use when gateways do not support dynamic notify URLs.

3. The line 51 mentioned above should not use str_replace, just compose the full URL to your static file like this JUri::root() . 'administrator/components/com_vikbooking/payments/webpay/[login to view URL]'.

There's clear error at the line 51 of the main file [login to view URL]:

$result = $webpay->getNormalTransaction()->initTransaction( intval($this->order_info['total_to_pay']), $this->order_info['details']['sid'], date('ymdhis'), str_replace('[login to view URL]', 'administrator/components/com_vikbooking/payments/webpay/[login to view URL]', $this->order_info['notify_url']), $this->order_info['return_url']);

As you can see, the function str_replace is searching for [login to view URL], which is obviously not present in the array property $this->order_info['notify_url'].


The goal is to solve the problem by modifying the gateway file, not the component.


The gateway today is only compatible with php 7.1, if it can be made compatible with php 7.3 better.

Taidot: PHP, Joomla

Näytä lisää: free payment gateway joomla, credit card payment gateway joomla, payment gateway joomla authorizenet, joomla repository, joomla extension manager, joomla addins, joomla components, how to integrate payment gateway in joomla, joomla widget, joomla paypal module, joomla ecommerce, integrate payment gateway joomla, create payment gateway joomla, free online payment gateway joomla, fix payment gateway, aec payment gateway joomla, ccavenue payment gateway joomla, google payment gateway joomla, make custom payment gateway joomla, orbital payment gateway joomla

Tietoa työnantajasta:
( 5 arvostelua ) Chillán, Chile

Projektin tunnus: #21014516

Myönnetty käyttäjälle:


Hi there, I just had a chance to review your requirements and I can see that you are looking for Joomla Developer as you are facing an issue with payment gateway after updating Joomla and I am happy to say that as an Lisää

$150 USD 2 päivässä
(94 Arvostelua)

21 freelancers are bidding on average $134 for this job


Hi, Thanks for the RFP. I have reviewed your requirements carefully and also gone through the attached PHP file, Joomla Component Documentation, Payment gateway Documentation. I would like to take up your job. -Can Lisää

$250 USD 7 päivässä
(103 arvostelua)

Hello, i can help you check and fix this problem, but i need ftp go to your host because i cant see this problem if only check file code php kind regards

$100 USD 1 päivässä
(399 arvostelua)

hi, 15+ years experience with strong knowledge of API / Payment Gateway integration and php with mysql, Plugin development and designing my few portfolio **CSM and eCom** Magento / WordPress / zencart / nopCommerc Lisää

$150 USD 5 päivässä
(195 arvostelua)

1. Building a Joomla based websites: - Landing Pages - Corporate websites - E-catalog - Ecommerce 2. Maintenance of a Joomla based websites: - Site transfer from one hosting to another - Updating a CMS version Lisää

$155 USD 3 päivässä
(56 arvostelua)

Hello, I’m a professional Joomla expert with 7+years of experience. I have developed one payment plugin for vikrent extension. I am sure i can do this job very well. Let’s discuss more about your project and start Lisää

$277 USD 5 päivässä
(156 arvostelua)

I have more than 8 years of experience and I have provided and will always provide the best quality of work in the industry. I posses the proficient skills which are required in your project and many more.I feel confi Lisää

$105 USD 1 päivässä
(92 arvostelua)
$30 USD 7 päivässä
(44 arvostelua)

Hello sir, I have gone throw your project description and ready to help you on this project. If possible will you show me error page so it's more help full for me. I have already work on vikrbooking component and know Lisää

$180 USD 3 päivässä
(92 arvostelua)

Hola te puedo ayudar con ese problema dado que conozco bien ese módulo. I have several ideas of what may be happening since I know that extension well. I have a lot of experience working joomla, maintenance, template Lisää

$80 USD 2 päivässä
(54 arvostelua)

hi i am php developer having more than 7 year of exp also please check my profile done more than 120 projects and if u like we can more discuss on this project thanks

$77 USD 2 päivässä
(90 arvostelua)

Welcome to dear!-------------------------------- I have read your description carefully. I can handle it with full confidence and have already done this type of projects. Please give me an opportunity to work with you Lisää

$140 USD 7 päivässä
(24 arvostelua)

Hello sir/mam, I am ready to check your website payment file issue. I am a Joomla developer. I can check the issue once and try to fix. if all goes wellvhire me and pay in successful completion. Thank you.

$95 USD 2 päivässä
(79 arvostelua)

Hello dear, I read your job posting carefully and am very interest your project. I am a full stack developer with great experience and skills in Web development for over 5 years long. I've always been giving clients sa Lisää

$140 USD 7 päivässä
(17 arvostelua)

Hello. I have big experience in Joomla, so i will do this job with pleasure. Feel free to contact with me. I can start work immediately. Regards, Luke

$100 USD 3 päivässä
(31 arvostelua)

Hi! I have checked the attached Zip and Documentation, as a Joomla Expert I am ready to help you to fix the Payment Gateway and make it compatible with php 7.3 better as well. Let us have detailed discussion over ch Lisää

$140 USD 7 päivässä
(14 arvostelua)

Hello Sir, I gone through your project details and i am Wordpress Expert let me assist you in this project and i am sure my work will satisfy you 100%. Just look at my previous work samples for quality of work 1) ht Lisää

$155 USD 7 päivässä
(26 arvostelua)

Good day! This is my woocommerce shoping site. [login to view URL] I have developed it from scratch to the end. and I have many experiences in laravel, wordpress, CI, python as backend. And I had several experiences in angu Lisää

$140 USD 7 päivässä
(17 arvostelua)

Greetings to you, This is EarthVision Web Tech Pvt. Ltd. We at EarthVision WebTech represent a team of developer and designer. Involves its commands over- WordPress, Joomla, PHP, HTML, CSS along with the number of pr Lisää

$110 USD 6 päivässä
(4 arvostelua)

Greetings! I have understood your problem. I can definitely help you to resolve this. Let's discuss a few requirements that need to be understood before resolving this problem and it will be resolved very quickly. I Lisää

$100 USD 1 päivässä
(5 arvostelua)

Hello, I'm a professional programmer for web programming with php language to build the system website, Besides, I'm also expert in MySQL , HTML,HTML5,CSS, JS I'm always top in Vietnam freelancer [login to view URL] Lisää

$140 USD 7 päivässä
(0 arvostelua)