• Resolved omarmasrur

    (@omarmasrur)


    Hello…great plugin! Really cool features too!

    There seems to be some problem with Discount Codes.

    1. They are applied correctly at checkout.
    2. However, orders are not reported with Discount Code.
    3. Emails with the field !!discount_code!! are blank.
    4. “uses” of Discount is not decremented automatically.
    5. Only through Edit Order option am I able to modify the order as one with Discount Code which is then recognized by the Uses counter.

    I dont think the above is intended. I think the intention is for Discount Codes to be applied and recognized by the order management system automatically.

    Kindly help.

    thanks very much.

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi @omarmasrur

    Thank you for using Paid Memberships Pro.

    Would you mind running a test checkout using another gateway and a discount code? You may use the ‘test’ gateway and revert back to 2Checkout after running this test.

    I plan on running some further tests on my end as well, as the uses and code should be updated and applied to Paid Memberships Pro orders.

    Thread Starter omarmasrur

    (@omarmasrur)

    Hi Andrew

    Yes, the functionality works fine when I chose Testing gateway.

    The code is applied, reported, and “Uses” are decremented as explained in the documentation.

    Let me know if you want me to run further tests and awaiting word on 2CO as this is the only gateway I have!!!! I am sure you will find a fix for it !

    Thanks,
    Omar

    Thread Starter omarmasrur

    (@omarmasrur)

    Hi Andrew

    Can you please let me know the status?

    I have a live site and have had to disable use of discounts which is affecting marketing and promotion strategy.

    Thanks,

    Plugin Author Andrew Lima

    (@andrewza)

    @omarmasrur we are still working through this. 2Checkout no longer supports sandbox accounts which is making testing a bit more difficult and time consuming.

    I sincerely apologize for the inconvenience caused by this.

    Thread Starter omarmasrur

    (@omarmasrur)

    Thank you Andrew

    while this is being debugged, is there a workaround for this?

    thanks,

    Thread Starter omarmasrur

    (@omarmasrur)

    Thank you Andrew

    while this is being debugged, is there a workaround for this? Or can I pay for a custom fix for now?

    thanks,

    Thread Starter omarmasrur

    (@omarmasrur)

    Any update?

    Thread Starter omarmasrur

    (@omarmasrur)

    Need an update please. Hopefully it is fixed.

    Plugin Author Andrew Lima

    (@andrewza)

    I apologize for the delay here, we have not been able to replicate this 100% yet. I am working through our 2 Checkout integration but do not have an ETA when this will be fixed.

    I do recommend using Stripe if it’s available to you. We will revert back as soon as we can, please keep a look out for updates to Paid Memberships Pro as this may include 2 Checkout updates.

    kimo95

    (@kimo95)

    Hello Andrew abd Omar

    This particular problem could be solved by applying this fix

    https://github.com/strangerstudios/paid-memberships-pro/pull/604/commits/0af9d19177bf2c5301525cbada999c5bc1c00715

    To the file called
    class.pmprogateway_twocheckout.php

    Although the fix is intended for paypal standard, but 2checkout and paypal standard seems to be using the same logic

    I have opened a support ticket for that in my own account in paidmembersip website

    https://www.paidmembershipspro.com/forums/topic/discount-code-expiry-date-problem-with-2checkout/

    Now my problem is, even after applying the fix,
    The count of the discount codes works and behaves as expected, however am still facing problem with custom expiry date of the discount code..

    I know it’s hard to test 2checkout,am here to help, we actually need this ASAP and ready to stop our payment gateway for testing purposes.. Please advise

    Kind Regards
    Karam

    kimo95

    (@kimo95)

    UPDATE
    I think I solved it by
    By placing
    //get discount code section before //fix expiration date section .. in file
    paid-memberships-pro/services/twocheckout-ins.php

    @andrewza
    A confirmation of the healthiness of the fix is appreciated

    • This reply was modified 4 years ago by kimo95.
    • This reply was modified 4 years ago by kimo95.
    Plugin Author Andrew Lima

    (@andrewza)

    Thanks for the feedback @kimo95, would you mind posting a Pull Request to https://github.com/strangerstudios/paid-memberships-pro/ and I’ll notify someone from our development team to look into this further with you.

    I’ll also escalate your ticket on our website with someone from our development team.

    kimo95

    (@kimo95)

    Alright @andrewza, here it is, I think it is fully stable:
    https://github.com/strangerstudios/paid-memberships-pro/pull/1510

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Discount Code – Applied but not recognized’ is closed to new replies.