Templates
4 years ago
defaultFormDonationProcessing.php
6 years ago
defaultFormReceiptTemplate.php
6 years ago
defaultFormTemplate.php
6 years ago
defaultLoadingView.php
6 years ago
defaultRedirectHandlerTemplate.php
5 years ago
defaultRedirectHandlerTemplate.php
23 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Offsite payment gateway Iframe redirect handler view. |
| 4 | * |
| 5 | * @since 2.7.0 |
| 6 | */ |
| 7 | |
| 8 | /* @var string $location Payment gateway checkout page url.*/ |
| 9 | ?> |
| 10 | <!DOCTYPE html> |
| 11 | <html <?php language_attributes(); ?>> |
| 12 | <head> |
| 13 | <meta charset="utf-8"> |
| 14 | <title><?php _e( 'Redirecting...', 'give' ); ?></title> |
| 15 | </head> |
| 16 | <body> |
| 17 | <a style="font-size: 0" id="link" href="<?php echo $location; ?>" target="_parent"></a> |
| 18 | <script> |
| 19 | document.getElementById( 'link' ).click(); |
| 20 | </script> |
| 21 | </body> |
| 22 | </html> |
| 23 |