Paige Kohalmi

Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • in reply to: Extend trial period #502952

    Paige Kohalmi
    Expired Member
    Post count: 17

    Thank you for the information. I will give Stripe a try. looks like for now refunding is the only option.

    in reply to: Extend trial period #502785

    Paige Kohalmi
    Expired Member
    Post count: 17

    Hey Alex, Thank you for the reply.

    Can you suggest any plugins that we can use to update the subscriptions using the Paypal Subscription API:
    https://developer.paypal.com/docs/api/subscriptions/v1/

    in reply to: Update package add to cart #482463

    Paige Kohalmi
    Expired Member
    Post count: 17

    Hey guys,

    I found 2 functions in class-geodir-pricing-cart-invoicing.php file:
    1. ajax_post_saved
    2. create_invoice

    Not sure which function to use.
    I just want to redirect to the /wpi-checkout with the listing being added to cart and invoice. I would really appreciate your help on this. Please let me know if you have any questions.

    in reply to: Update package add to cart #482410

    Paige Kohalmi
    Expired Member
    Post count: 17

    Hey guys any update on this?

    in reply to: Update package add to cart #482187

    Paige Kohalmi
    Expired Member
    Post count: 17

    Hey guys thank you for your response. I am using WP Invoicing plugin for the payment processing. The code I am using is somewhat like this: (package id: 5 is the premium package)

    
    <?php 
    	if(isset($_POST['submit'])){
    		if($_POST['package'] == "5"){
                             $post = get_post($_POST['listingid']);
    			//proceed to wp invoicing adding to cart and forward to the payment gateway
    		}
    	}
    	//global $wpdb;
    	//$sql = $wpdb->get_results("Update {$wpdb->prefix}geodir_gd_coach_detail set package_id=5 WHERE ");
    ?>
    <form method="post" action="" name="updatePackage">
    	Please select a package
    	<br>
    	<br>
    	<input type="radio" name="package" value="1" checked> Free
    	<input type="radio" name="package" value="5"> Premium
    	<input type="hidden" name="listingid" value="<?php print $listingid?>">
    	<br>
    	<br>
    	<br>
    	<input type="submit" name="submit">
    </form>
    in reply to: Update package add to cart #481505

    Paige Kohalmi
    Expired Member
    Post count: 17

    Hey Alex,
    Thank you for the reply. I am using my own custom page where I just show the package selection options only and not the whole listing form. I am trying to redirect the user to the cart/checkout page once the user selects the premium package. Is there a function where I can pass the post details and create invoice and redirect to checkout?


    Paige Kohalmi
    Expired Member
    Post count: 17

    Hey Guust,

    I have done everything you have mentioned. Could you please check now and let me know if I have I have to do anything else?

    Thank you,


    Paige Kohalmi
    Expired Member
    Post count: 17
    This reply has been marked as private.

    Paige Kohalmi
    Expired Member
    Post count: 17
    This reply has been marked as private.
    in reply to: Add listing sent to draft #475456

    Paige Kohalmi
    Expired Member
    Post count: 17

    Adding more information:
    – I created a wordpress template and assign that template to a wordpress page with URL /add-listing
    That template has the following shortcodes:
    echo do_shortcode(‘[gd_notifications]’);
    echo do_shortcode(‘[gd_add_listing listing_type=gd_coach]’);

    The full url to add new listing is:
    /add-listing?listing_type=gd_coach

    in reply to: Add listing sent to draft #475219

    Paige Kohalmi
    Expired Member
    Post count: 17
    This reply has been marked as private.

    Paige Kohalmi
    Expired Member
    Post count: 17

    Thank you Kor and Guust for the quick reply. I will give it a try and let you know how it goes.

Viewing 12 posts - 1 through 12 (of 12 total)