Basics

Basics of Store Payment Methods in VaahStore

What is Store Payment Methods?

How to create a Store Payment Methods?

After activating VaahStore, to create a store payment methods, go into VaahCMS > Store > Store Payment Methods, then click on create button. A form to create store payment methods will open.

Requirement to create a Store Payment Methods.

FieldsDescriptions
StoreSelect the store.
Payment MethodSelect the payment method.
Last Payment atSelect the last payment date.
StatusSelect the status of the store payment methods.
Status NotesNotes are to describe your decision for any status.
Is ActiveThis is to Activate or Deactivate your store payment methods.

Details about store payment methods table

  • Store column shows the name of the store.
  • After creating a store payment methods, you find the record on the table and if there is no record, then it will show no records found.
  • There is an "Is Active" column in the table. By clicking on the button, a store payment methods can be activated or inactivated.
  • Actions column includes View, Update and Trash. By clicking on view, details of the warehouse can be seen. And by clicking on the update button, records can be updated. And the trash button is for trashing and restoring the data.
  • Status column shows the status of the record.
  • Last Payment at column shows the last payment date.
  • There is a Filters button on the right side of the search bar. By clicking on this button, a filter page will open, and on that page, filters can be applied.

API


create

URL
POST <public-url>/public/api/store/storepaymentmethods

Request samples

parameter = [
    "vh_st_store_id",                    // Id
    "vh_st_payment_method_id",          // Id
    "vh_st_vendor_id",                  // Id
    "taxonomy_id_payment_status",       // Id
    "last_payment_at",                  // Date
    "is_active",                        // Boolean
    "status_notes",                     // String
];

Response sample

{
    "status": "success",
    "messages": [
        "Saved"
    ],
    "data": {
        ...........
        ...........
        ...........
    }
}

Get List

URL

GET <public-url>/public/api/store/storepaymentmethods?rows={number_of_rows}

Response sample

{
    "success": true,
    "data": {
        ...........
        ...........
        ...........
    }
}

Get Record

URL

GET <public-url>/public/api/store/storepaymentmethods/{record_id}

Response sample

{
    "success": true,
    "data": {
        ...........
        ...........
        ...........
    }
}

Copyright © 2024