cancel
Showing results for 
Search instead for 
Did you mean: 

Accept js

I am using Option 2 (Embed our hosted, mobile-optimized payment information form in your page to collect the card information in a PCI-DSS SAQ A compliant way) from this page. https://developer.authorize.net/api/reference/features/acceptjs.html.

Is it possible to display the different credit card types that are accepted and display to the user the feature to allow the user to store the credit card information for next time use and to select it the next time.

If so could you explain how I can achieve this? I have the basic form working using this method but can't figure out if I can use the options requested above.

Thanks in advance.

Here is the form I have in my component.

            <form
              ref={formRef}
              method="POST"
              id="paymentForm"
              name='paymentForm'
            >
              <input type="hidden" name={`dataValue`} id={`dataValue`} />
              <input type="hidden" name={`dataDescriptor`} id={`dataDescriptor`} />
              <Button
                type="button"
                onClick={handlePayment}
                themeColor="primary"
                fillMode="solid"
                size="small"
                className="AcceptUI"
                data-billingaddressoptions='{"show":true, "required":false}'
                data-paymentOptions='{"showCreditCard":true, "showBankAccount":true}'
                data-apiloginid={publicApiLoginId}
                data-clientkey={formToken}
                data-acceptuiformbtntxt="Submit"
                data-acceptuiformheadertxt="Card Information"
                data-responsehandler='responseHandler'
              >
                Pay
              </Button>
            </form>
billyjacobs
New Member
0 REPLIES 0