Although the shipping address is not mandatory sometimes, the billing address on the other hand is a mandatory field that we cannot remove because it's required in accordance with the local rules and regulations. So It's mandatory to collect this information because these details are used as part of the bank's anti-fraud screening.
As a merchant, you must ensure that the genuine customer address is provided, and not just pre-set values as that could result in higher declines and transactions to fail due to anti-fraud screening.
However, you can according to your integration method to hide the billing information in the PayPage once it's already passed with valid information.
The customer details are still required and must be passed, in case any of the details are missing or passed with invalid values; the hide_shipping option will be ignored and cardholder will be required to enter any of the missing details on the payment page
Want to activate this option cause of the mandatoriness of the zip/postal code? there has been an update to the payment pages to have the zip/postal code as optional if the billing country or shipping country is KSA, Egypt, Jordan, or Bahrain.
In this article, you will be going to know how to do this via:
Merchant Dashboard (PayLinks - Invoices)
Digital Products Mode
In the case when you have digital products among your provided services to the customers, and you don’t require shipping details from your customers, PayTabs provides you with Digital Payment Products, which is a new feature for merchants to configure a payment page to collect name and email address only. Billing and shipping information is not requested.
This mode is targeted for donations and similar digital products that do not have or require billing/shipping information. all you need to do to hide the shipping address is to contact us at (customercare@paytabs.com) to activate the digital product mode for you. Only then you will have a "Digital Products Mode" option on your PayPage Settings under the Developers menu which will enable you to do this.
Digital product mode is not universally compatible with all processors. Therefore, it is advisable to seek guidance from your Relationship Manager (RM) to determine if it is suitable for your specific processor
Same As Billing Details
"Same as Billing Details" mean? Essentially, it's a checkbox or button on PayTabs Payment page that allows you to duplicate your billing address in the shipping address fields with a single click. In other words, if your billing address and shipping address are the same, there's no need to re-enter the same information twice. Only then you will have a "Digital Products Mode" option on your PayPage Settings under the Developers menu which will enable you to do this.
API Endpoints
To hide both billing and shipping details, you will need to (at least) pass the full valid customer details in addition to passing the following parameter “hide_shipping”: true in your request payload, which will make the shipping details optional and will not be displayed on the PayPage .The Shipping Details indicate the shipping details for this payment. If hide shipping is provided, the payment page will be prefilled with the provided data For more information and code examples you may like to click
Request Parameters | Hide Shipping (hide_shipping).
eCommerce Plugins
In case you want to not force the customers to reenter both billing and shipping information all over again after providing them already on your website checkout page, you may like to enable the hide shipping option from the plugin configuration page. To know whether your desired plugin supports this option or not and how to enable it, please check our solution from here, and navigate to the "Hide Shipping" section under the "What are PayTabs plugin configuration options?".
If there's no such title under the "What are PayTabs plugin configuration options?", then this option is not supported yet in this plugin.
Mobile SDKs
By default, the billing and shipping info section is hidden in all PayTabs provided SDKs. Set its flag to true
to let the SDK internally handle the missing billing & shipping info. To know how to manipulate this option, please check our solution article by clicking here.
- Native IOS SDK | Manage Shipping and Billing details
- Native Android SDK | Manage Shipping and Billing details
- Cordova SDK | Manage Shipping and Billing details
- Ionic SDK | Manage Shipping and Billing details
- Unity Package | Manage Shipping and Billing details
- React Native SDK | Manage Shipping and Billing details
- Xamarin SDK | Manage Shipping and Billing details
- Flutter SDK | Manage Shipping and Billing details
Backend Packages
Backend Packages use the same concept of API Endpoint, the "customer_details" and "shipping_details" parameters are Mandatory on both Packages, not passing them would throw an exception. for more information on Managing shipping details/billing details for both articles please visit our solution article here.
The customer details are still required and must be passed, in case any of the details are missing or passed with invalid values; the cardholder will be required to enter any of the missing details on the payment page
Laravel: Manage Shipping and Billing Details | PayTabs Technical Portal
Node.js: Manage Shipping and Billing Details | PayTabs Technical Portal