Results 1 to 3 of 3

Thread: Paypal Recurring Payments

  1. #1
    Thread Starter
    Expired Customer benkovic's Avatar
    Join Date
    Jul 2012
    Location
    Canada
    Posts
    76
    Thanks
    2
    Thanked 4 Times in 4 Posts

    Paypal Recurring Payments

    I currently just switched a file to 'create' a recurring payment plan which it creates with paypal and returns to my site and completes transaction, so the account is active. I have it set to 1 day periods. My problem is when the next day comes to pay, the paypal side does its job, but it doesnt update the plan expiry date to the next day. The files i am tinkering with are vantage/includes/payments/gateway/paypal/paypal.php and vantage/includes/payments/gateway/paypal/paypal-form.php. My question: is vantage only setup for pdt cause this function:

    public function process( $order, $options ) {

    if( !empty( $options['pdt_enabled'] ) ){

    if( APP_Paypal_PDT::can_be_handled() ){

    $transaction = APP_Paypal_PDT::get_transaction( $_GET['tx'], $options['pdt_key'], !empty( $options['sandbox_enabled'] ) );
    if( $transaction )
    $this->bridge->handle_response( $transaction, $order->get_id() );
    else
    $this->fail_order( __( 'PayPal has responded to your transaction as invalid. Please contact site owner.', APP_TD ) );

    }

    else{
    $this->create_form( $order, $options );
    }

    return;
    }

    // Otherwise, validate regularly
    if( $this->is_returning() )
    $order->complete();
    else
    $this->create_form( $order, $options );

    }

    only looks to be looking for pdt, not ipn. There is a lot to piece together. Are the APPTHEMES team close to getting this complete or 6months, 1 year? It would be nice to know before i start looking into this myself. Thanks

  2. #2
    Expired Customer hopfoto's Avatar
    Join Date
    Oct 2012
    Location
    NYC
    Posts
    954
    Thanks
    37
    Thanked 125 Times in 118 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Running Vantage on 2 sites- both are on
    the Latest Development Build (1.2.2 dev)
    & WordPress 3.5.1

  3. #3
    Marketplace Seller iapcsolutions's Avatar
    Join Date
    Jul 2013
    Location
    United States
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)