This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

Payment ID on recurring payments not working


  1. raefrench
    Member

    The Payment ID on recurring payments is not working correctly. The results are displaying like this in the email receipt:

    Payment ID form11504_entry1

    This is for a monthly payment using Stripe. Shouldn't this be an actual payment id similar to the one-time payment? How can we fix this?

    Best wishes,
    Rae

    Posted 11 years ago #
  2. yuniar

    That's actually the plan id of the subscription. So that you could easily recognize the payment based on the id.
    However, now after looking into it further, I agree that it looks ugly and it's more appropriate to display the subscription id generated by Stripe.

    To fix this, you can edit the "payment_submit_stripe.php" file, around line 211:

    $payment_data['payment_id'] 	= $subscribe_result->plan->id;

    change it to become:

    $payment_data['payment_id'] 	= $subscribe_result->id;

    that should display the subscription id as the payment id.


    MachForm Founder

    Posted 11 years ago #

RSS feed for this topic

Reply