5 Replies Latest reply: Jan 28, 2013 10:30 PM by RMishra RSS

    PaymentGroupDroplet

    jkvel
      Hi,

      I am displaying all the payment methods using PaymentGroupDroplet.. When i tried to do so, it displays

      "PAYMENT GROUP: creditCard,storeCredit,giftCertificate" like this.

      Here is my code
      PAYMENT GROUP: <dsp:droplet name="ForEach">
                <dsp:param name="array" param="paymentGroups"/>
                <dsp:oparam name="output">
                     <dsp:valueof param="element.paymentMethod"></dsp:valueof>
           </dsp:oparam>

      I need to display all the payment methods with out commas(,).. Please help me out
      Thanks in advance

      --
      Jk
        • 1. Re: PaymentGroupDroplet
          Nooruddin Shaik
          You are using PaymentGroupDroplet for wrong purpose.
          This droplet is used to initialize payment groups.
          You can explore AuthorizedPaymentTypesDroplet if it fits for ur req.

          Peace
          Shaik
          • 2. Re: PaymentGroupDroplet
            jkvel
            Hi shaik,

            Thanks for ur response.

            I need to display all the payment methods not applicable for user.
            Need help.

            --
            Jk
            • 3. Re: PaymentGroupDroplet
              RMishra
              Look at <ATG_Root>/DCS/src/Java/atg/commerce/order/purchase/PaymentGroupDroplet.java and you can customize initializeUserPaymentMethods(DynamoHttpServletRequest pRequest, Profile pProfile) method according to your need.

              -RMishra

              Edited by: RMishra on Jan 29, 2013 11:56 AM
              • 4. Re: PaymentGroupDroplet
                Georgeo-Oracle
                RMishra,
                You should have pointed out that the source to that droplet can be found in <ATG_Root>/DCS/src/Java/atg/commerce/order/purchase/PaymentGroupDroplet.java. From the looks of what you posted, you may be using a decompiler to view Oracle ATG source. Please note that decompilation of proprietary Oracle ATG code is a breach of the license agreement as well as a violation of US Copyright Law. If you are using a decompiler (e.g. JadClipse), you must remove any decompiled code and cease any further decompilation (e.g. by disabling JadClipse).

                Thanks for your cooperation,
                George
                • 5. Re: PaymentGroupDroplet
                  RMishra
                  Thanks for your valuable advice. updated above comment. :)

                  -RMishra