Paypal, Iframe, Joomla - Post ID 204433

User 2451744 Photo


Registered User
2 posts

I am trying to get the proceed to paypal button to open in a new window. My site is Joomla Based with the cart in an iframe to preserve the look of my site. Everything works fine until you go to checkout. I have tried both PPS and PPE . anyone have any suggestions?
User 2451744 Photo


Registered User
2 posts

the answer was in (your_shop) /ccdata/datagoppwps.inc.php

old file
<div class="paypal_feedback">
<a href="http://www.paypal.com" target="_blank"><img src="ccdata/images/PPLogo.png" align="right" border="0"></a>
<h3>Proceed to secure credit card checkout with PayPal</h3>
<p>Thank you for shopping with us!</p>
<p>We will now transfer you to the secure payment gateway where you can enter your credit card data.</p>
<br/><br/>
<form style="display:inline;" action="<?php echo $myPage->getUrl('cancel'); ?>" method="POST">
<input type="submit" name="return" value="Return to the Shop" />
</form>&nbsp;&nbsp;&nbsp;
<form style="display:inline;" action="<?php echo $myPage->getConfigS('PayPalWPS', 'URL'); ?>" method="POST">
<?php echo $checkout->getCheckoutFields() ?>
<input type="submit" name="_xclick" value="Proceed to Checkout" />
</form>
</div>


New File

<div class="paypal_feedback">
<a href="http://www.paypal.com" target="_blank"><img src="ccdata/images/PPLogo.png" align="right" border="0"></a>
<h3>Proceed to secure credit card checkout with PayPal</h3>
<p>Thank you for shopping with us!</p>
<p>We will now transfer you to the secure payment gateway where you can enter your credit card data.</p>
<br/><br/>
<form style="display:inline;" action="<?php echo $myPage->getUrl('cancel'); ?>" method="POST">
<input type="submit" name="return" value="Return to the Shop" />
</form>&nbsp;&nbsp;&nbsp;
<form style="display:inline;" action="<?php echo $myPage->getConfigS('PayPalWPS', 'URL'); ?>"target="_blank" method="POST">
<?php echo $checkout->getCheckoutFields() ?>
<input type="submit" name="_xclick" value="Proceed to Checkout" />
</form>
</div>
User 2507432 Photo


Registered User
4 posts

target=blank will give users a blank paypal login page. We need to use the target=parent so that your shopping cart shows up

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.