I'm new to magento.I'm working on magento 2 custom checkout module due to integration with client ERP system.
All of my checkout process are using custom table like custom_order_table
and custom_order_items_table
.
My question is how can I add PayPal Checkout button on my custom page and when click the button retrieve data from my custom table etc .. grand_total,currency,item_detils
and submit to PayPal to complete payment process.
Please help me. Thank You.