The new "business" rule for this is to IGNORE previously created Pending membership records during Online Membership Signup. This prevents using incomplete membership records resulting from failed or aborted payment attempts.
Step to Replicate (using Payment processor PayPal Pro )
Contribution Amounts >>
Disable = Contribution Amounts section
Enable = Enable pay later option?
Memebrship section >>
enable = Require Membership Signup
enable = Display Membership Fee
disable = Separate Membership Payment
Make Test Drive select General membership type, Select Pay later Option
Now Membership in Pending Mode.
( In DataBase start date and end is set to null since it is in pending mode)
Now Do the same process with-out pay later.
Here, Membership still in pending mode.( status is not changed )
Also in Email receipt
Membership Type: Student
Membership Start Date:
Membership End Date:
Membership date's are blank, since we found membership
id for that type and retrive info. but in this Date were null.
so we don't get these date.