Separate membership payment on contribution form with auto renewal not get processed
When creating a contribution page with a membership with the option "Separate Membership Payment" and Auto-renew with 'Give Option' / 'Required'. On Signup page Membership Type will shown along with donation field. Choose auto-renewal option if optional.
Submit the Payment to Processor. This will create Membership record, 2 Contribution record and Recurring contribution for Membership Payment. First payment get recorded, Membership status and Contribution status get updated to 'New' and 'Completed' respectively.
On next scheduled Payment (renewal date) civicrm receive IPN response from Payment Processor but this time recurring contribution id is absent in response (which we should set during the first payment, but in case of separate membership payment we don't). IPN assume that this is single donation rather than recurring and show the message in log that is already processed.
Solution: Pass recurring ID and Page ID to payment processor in case of Separate Membership Payment.