الربط المباشر من خلال API
يمكنك دمج أي موقع ويب مع فواتيري ، اتبع هذه الخطوات.
الدخول الى الرابط التالي:
https://bill.ps/api/loginBill?api_data=82e4b4fd3a16ad99229af9911ce8e6d2&apiKey=
1. الدفع بإستخدام بطاقات الإئتمان:
https://bill.ps/api/createInvoiceByAccount?api_data=82e4b4fd3a16ad99229af9911ce8e6d2&invoice_id='.$order_id.'&apiKey='.$securty_codee.'&total='.$total_bill.'¤cy=USD&inv_details={"inv_items": [{"name": "Shoping from store","quntity": "1.00","unitPrice": "'.$total_bill.'","totalPrice": "'.$total_bill.'","currency": "USD"}],"inv_info":[{"row_title":"Vat","row_value":"0"},{"row_title":"Delevery","row_value":"0"},{"row_title":"Promo Code","row_value":0},{"row_title":"Discounts","row_value":0}],"user" :{"userName":"test"}}&return_url='.$re_url.'&email='.$c_email.'&mobile='.$c_mobile.'&name='.$c_name;
- api_data: 82e4b4fd3a16ad99229af9911ce8e6d2
- invoice_id: YOUR Invoice ID / Order ID and back to you in return url
- apiKey: key that set by merchant
- total: total amount
- currency: USD
-
details: in json format sample:
{"inv_items": [{"name": "Shoping from store","quntity": "1.00","unitPrice": "'.$total_bill.'","totalPrice": "'.$total_bill.'","currency": "USD"}],"inv_info":[{"row_title":"Vat","row_value":"0"},{"row_title":"Delevery","row_value":"0"},{"row_title":"Promo Code","row_value":0},{"row_title":"Discounts","row_value":0}],"user" :{"userName":"test"}} - return_url: result back to your website
- email: Your customer email.
- mobile: Your customer mobile.
- Name: Your customer full name.
بإستخدام API,
يجب استخدام API في href_link عبر تمرير بياناتك للرابط أو إرسال نموذج ، يستخدم هذا api مباشرة إلى صفحة الدفع عبر إعادة توجيه الرأس.
2. الدفع بإستخدام بايبال:
https://bill.ps/api/createInvoiceByAccountPaypal?api_data=82e4b4fd3a16ad99229af9911ce8e6d2&invoice_id='.$order_id.'&apiKey='.$securty_codee.'&total='.$total_bill.'¤cy=USD&inv_details={"inv_items": [{"name": "Shoping from store","quntity": "1.00","unitPrice": "'.$total_bill.'","totalPrice": "'.$total_bill.'","currency": "USD"}],"inv_info":[{"row_title":"Vat","row_value":"0"},{"row_title":"Delevery","row_value":"0"},{"row_title":"Promo Code","row_value":0},{"row_title":"Discounts","row_value":0}],"user" :{"userName":"test"}}&return_url='.$re_url.'&email='.$c_email.'&mobail='.$c_mobile.'&name='.$c_name;
- api_data: 82e4b4fd3a16ad99229af9911ce8e6d2
- invoice_id: YOUR Invoice ID / Order ID and back to you in return url
- apiKey: key that set by merchant
- total: total amount
- currency: USD
-
details: in json format sample:
{"inv_items": [{"name": "Shoping from store","quntity": "1.00","unitPrice": "'.$total_bill.'","totalPrice": "'.$total_bill.'","currency": "USD"}],"inv_info":[{"row_title":"Vat","row_value":"0"},{"row_title":"Delevery","row_value":"0"},{"row_title":"Promo Code","row_value":0},{"row_title":"Discounts","row_value":0}],"user" :{"userName":"test"}} - return_url: result back to your website
- email: Your customer email.
- mobile: Your customer mobile.
- Name: Your customer full name.
بإستخدام API,
يجب استخدام API في href_link عبر تمرير بياناتك للرابط أو إرسال نموذج ، يستخدم هذا api مباشرة إلى صفحة الدفع عبر إعادة توجيه الرأس.
