Changeset 2914965
- Timestamp:
- 05/19/2023 07:55:52 PM (3 years ago)
- Location:
- mc2p-gravityforms-addon/trunk
- Files:
-
- 2 edited
-
class_gf_mc2p.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mc2p-gravityforms-addon/trunk/class_gf_mc2p.php
r2012164 r2914965 412 412 if ( is_array( $line_items ) ) { 413 413 foreach ( $line_items as $item ) { 414 $product_name = urlencode( $item['name'] );414 $product_name = $item['name']; 415 415 $quantity = $item['quantity']; 416 416 $unit_price = $item['unit_price']; … … 476 476 477 477 public function return_url( $form_id, $lead_id ) { 478 $pageURL = GFCommon::is_ssl() ? 'https://' : 'http://'; 479 480 $server_port = apply_filters( 'gform_mc2p_return_url_port', $_SERVER['SERVER_PORT'] ); 481 482 if ( $server_port != '80' ) { 483 $pageURL .= $_SERVER['SERVER_NAME'] . ':' . $server_port . $_SERVER['REQUEST_URI']; 484 } else { 485 $pageURL .= $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; 486 } 478 $pageURL = get_bloginfo( 'url' ) . $_SERVER['REQUEST_URI']; 487 479 488 480 $ids_query = "ids={$form_id}|{$lead_id}"; -
mc2p-gravityforms-addon/trunk/readme.txt
r2006494 r2914965 2 2 Contributors: MyChoice2Pay 3 3 Tags: mychoice2pay, mc2p, payments, gateway, divvy, credit card, paypal, paga+tarde, redsys, bitcoin 4 Stable tag: 0.1.3 5 Tested up to: 6.2.1 4 6 License: GNU General Public License v3.0 5 7 License URI: http://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset
for help on using the changeset viewer.