Introduction
This guide covers the integration path for card-only payments. Please ensure you have completed the Secure Debit integration guide first, then return here to enable card-only processing via Push.Step 1: Cashier Button
Button Label and Type
Please display a separate button on your cashier for users to select card-only processing. The button should be labeled “Credit” and be branded using the design guidelines for the operator’s webpage.If you have previously integrated Secure Debit, Push requires that you create a separate button for card-only payments (i.e. you should have both “Secure Debit” and “Credit” buttons in your cashier).
Display user credentials
Display the last 4 of the user’s card on the button. Call get-user and parse the response forcard_only_credentials
If the user has not been previously registered with Push, you must register them. Call create-user and store the user ID in your database. Users registered for Secure Debit processing can be re-used for card-only processing.
Step 2: Display Push User Widget
Generate the widget URL. Make a request to create-user-widget-url with"type": "card_only"
Step 3: Submit payment
Submit the user’s payment for processing. Make a request to authorize-payment with the amount and token.- If status code is 200, the payment has been approved
- If status code is 401, the payment was declined