[Skip to main content](#vessel-content)

#   Paypal and the cloaking URL problem

##

- **[tinachou](/forum/user/11887-tinachou "View tinachou's Profile")**
- [![tinachou's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11887-tinachou "View tinachou's Profile") Topic Author
- [ Offline](/forum/user/11887-tinachou)

Less More

- Posts: 107
- Thank you received: 1
-
-

12 years 9 months ago -  12 years 9 months ago [\#141905](#141905) by [tinachou](/forum/user/11887-tinachou "View tinachou's Profile")  *[Paypal and the cloaking URL problem](/forum/29-payment-methods/865460-paypal-and-the-cloaking-url-problem#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&#95;website&#95;.com.  And the English version of the website is http://www.my&#95;website&#95;.com/en (This is by default in Joomla)  Then I cloaked the  http://www.my&#95;website&#95;.com/en  with   It turns out the Paypal payment does not work when using the url  PayPal just doesn't support payment data submission from a cloaked page.  Is there any way to solve the problem?")* was created by *[tinachou](/forum/user/11887-tinachou "View tinachou's Profile")*

-- 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: 12 years 9 months ago by [tinachou](/forum/user/11887-tinachou "View tinachou's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjU0NjAtcGF5cGFsLWFuZC10aGUtY2xvYWtpbmctdXJsLXByb2JsZW0/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[tinachou](/forum/user/11887-tinachou "View tinachou's Profile")**
- [![tinachou's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11887-tinachou "View tinachou's Profile") Topic Author
- [ Offline](/forum/user/11887-tinachou)

Less More

- Posts: 107
- Thank you received: 1
-
-

12 years 9 months ago [\#141943](#141943) by [tinachou](/forum/user/11887-tinachou "View tinachou's Profile")  Replied by *[tinachou](/forum/user/11887-tinachou "View tinachou's Profile")* on topic *[Paypal and the cloaking URL problem](/forum/29-payment-methods/865460-paypal-and-the-cloaking-url-problem#141943 "-- 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&#95;website&#95;.com.  And the English version of the website is http://www.my&#95;website&#95;.com/en (This is by default in Joomla)  Then I cloaked the  http://www.my&#95;website&#95;.com/en  with   It turns out the Paypal payment does not work when using the url  PayPal just doesn't support payment data submission from a cloaked page.  Is there any way to solve the problem?")*

Hey,

I found something on paypal's technical support page.

[ ppmts.custhelp.com/app/answers/detail/a\_...king%20url/related/1](https://ppmts.custhelp.com/app/answers/detail/a_id/277/kw/cloaking%20url/related/1)

If using frames, you will want to add target="paypal" in the &lt;form action=""&gt; 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:

&lt;form method="post" action="[ www.paypal.com/cgi-bin/webscr](https://www.paypal.com/cgi-bin/webscr)"&gt;

It should be changed to:

&lt;form method="post" action="[ www.paypal.com/cgi-bin/webscr](https://www.paypal.com/cgi-bin/webscr)" target="paypal"&gt;

So where do I need to add this **target="paypal"** ? Anyone knows? ![:)](/media/kunena/emoticons/3.png ":)")

> 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjU0NjAtcGF5cGFsLWFuZC10aGUtY2xvYWtpbmctdXJsLXByb2JsZW0/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

12 years 9 months ago [\#142024](#142024) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Paypal and the cloaking URL problem](/forum/29-payment-methods/865460-paypal-and-the-cloaking-url-problem#142024 "-- 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&#95;website&#95;.com.  And the English version of the website is http://www.my&#95;website&#95;.com/en (This is by default in Joomla)  Then I cloaked the  http://www.my&#95;website&#95;.com/en  with   It turns out the Paypal payment does not work when using the url  PayPal just doesn't support payment data submission from a cloaked page.  Is there any way to solve the problem?")*

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjU0NjAtcGF5cGFsLWFuZC10aGUtY2xvYWtpbmctdXJsLXByb2JsZW0/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.048 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
