Templates
4 years ago
defaultFormDonationProcessing.php
4 years ago
defaultFormReceiptTemplate.php
4 years ago
defaultFormTemplate.php
4 years ago
defaultLoadingView.php
4 years ago
defaultRedirectHandlerTemplate.php
4 years ago
defaultRedirectHandlerTemplate.php
26 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 |
| 12 | language_attributes(); ?>> |
| 13 | <head> |
| 14 | <meta charset="utf-8"> |
| 15 | <title><?php |
| 16 | _e('Redirecting...', 'give'); ?></title> |
| 17 | </head> |
| 18 | <body> |
| 19 | <a style="font-size: 0" id="link" href="<?php |
| 20 | echo $location; ?>" target="_parent"></a> |
| 21 | <script> |
| 22 | document.getElementById('link').click(); |
| 23 | </script> |
| 24 | </body> |
| 25 | </html> |
| 26 |