I am trying to integrate JamboPay to a website with the express option but am being redirected to the payments cancelled page. I have the API key but not sure where to place add it since the documentation is shallow. Any help will be appreciated to solve this issue.
When did the aliens invade this forum? :mad: Explain in simple terms bwana
This is as simple as it gets.
homowebdev
@admin msaidie
I can help you, Jambopay integration is the easiest that can be. Just a simple form and the Jambopay URL as the form action.
[PHP]
<?php $url = 'https://www.jambopay.com/JPExpress.aspx'; $opts = array(); $opts['jp_item_type'] = 'cart'; $opts['jp_item_name'] = 'Item You are paying for'; // generate a timstamp for the order_id $opts['order_id'] = time(); $opts['jp_business'] = '[email protected]'; $opts['jp_amount_1'] = '100'; $opts['jp_amount_2'] = '0'; $opts['jp_amount_5'] = '0'; // email of the person paying, or customer $opts['jp_payee'] = '[email protected]'; $opts['jp_shipping'] = ''; $opts['jp_rurl'] = 'your_return_url'; $opts['jp_furl'] = 'your_failed_url'; $opts['jp_curl'] = 'your_cancel_url'; $opts['image'] = 'https://www.jambopay.com/jp_image/paynow.png'; ?>[/PHP]
Thanks man. It worked like a charm.
Welcome