Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Restrict payment options based on selected currency/locale

  1. #1
    Jordan is offline Member
    Join Date
    Feb 2006
    Posts
    42

    Default Restrict payment options based on selected currency/locale

    We're based in Canada and want to limit VISA/MC to domestic orders, and use PayPal for international orders.

    Anyone have experience with configuring rather than customizing ASPDNSF to do something along these lines?



    Jordan.
    ________
    California Medical Marijuana
    Last edited by Jordan; 08-13-2011 at 08:23 AM.

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Jordan, unfortunately, that's not possible out of the box. Can you tell us what version are you on? In v8.x and lower, you don't need a source to achieve this, you could just add a logic in checkoutpayment.aspx.cs file, probably under InitializePageContent() method.

    However, if you're on v9.x, you need the source to do this and modify the PaymentMethod.CreateChildControls() method from AspDotNetStorefrontcontrols project.

  3. #3
    jgeno is offline Member
    Join Date
    Jan 2006
    Posts
    50

    Default

    Has anyone implemented this on 8.x? Can you provide some guidance as to where the necessary code changes need to be made?

    Thanks,
    Jason