Paypal and the cloaking URL problem

  • Posts: 107
  • Thank you received: 1
10 years 9 months ago #141905

-- HikaShop version -- : 2.0.0
-- Joomla version -- : 2.5.7
-- PHP version -- : 5.3.27
-- Browser(s) name and version -- : Chrome

Hello there,

Suppose my website's url is http://www.my_website_.com.

And the English version of the website is http://www.my_website_.com/en (This is by default in Joomla)

Then I cloaked the http://www.my_website_.com/en with http://www.en.my_website_.com.

It turns out the Paypal payment does not work when using the url http://www.en.my_website_.com.

PayPal just doesn't support payment data submission from a cloaked page.

Is there any way to solve the problem?

Last edit: 10 years 9 months ago by tinachou.

Please Log in or Create an account to join the conversation.

  • Posts: 107
  • Thank you received: 1
10 years 9 months ago #141943

Hey,

I found something on paypal's technical support page.

ppmts.custhelp.com/app/answers/detail/a_...king%20url/related/1

If using frames, you will want to add target="paypal" in the <form action=""> tag of the HTML code to prevent our payment page from being displayed in a Frame

If you have this line in your button code:

<form method="post" action=" www.paypal.com/cgi-bin/webscr ">

It should be changed to:

<form method="post" action=" www.paypal.com/cgi-bin/webscr " target="paypal">


So where do I need to add this target="paypal" ? Anyone knows? :)

tinachou wrote: -- HikaShop version -- : 2.0.0
-- Joomla version -- : 2.5.7
-- PHP version -- : 5.3.27
-- Browser(s) name and version -- : Chrome

Hello there,

Suppose my website's url is http://www.my_website_.com.

And the English version of the website is http://www.my_website_.com/en (This is by default in Joomla)

Then I cloaked the http://www.my_website_.com/en with http://www.en.my_website_.com.

It turns out the Paypal payment does not work when using the url http://www.en.my_website_.com.

PayPal just doesn't support payment data submission from a cloaked page.

Is there any way to solve the problem?

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
10 years 9 months ago #142024

it's the file plugins/hikashoppayment/paypal/paypal_end.php

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum