Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Sample execution for intent AUTHORIZE

This can be performed by either doing running run_all.py or by following the instructions below

  1. To test creating an order, run create_order.py

  2. To approve your order, copy approve link into your browser and follow the instructions. When you're redirected to a different website move on to step 3.

  3. Copy the Order ID from the response after creating order and replace the order_id variable in authorize_order.py with and run the script to authorize the payment.

  4. Copy the Authorization ID from the response and replace authorization_id variable in capture_order.py to capture the payment.

  5. Copy the Capture ID from the response and replace capture_id variable in refund_order.py to refund the payment.