lib/pxpay/templates/pxpay.rb in pxpay-0.2.0 vs lib/pxpay/templates/pxpay.rb in pxpay-0.2.1
- old
+ new
@@ -3,9 +3,10 @@
# Your Pxpay UserID and Key
Pxpay::Base.pxpay_user_id = 'ExampleUser'
Pxpay::Base.pxpay_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
# Return Endpoints for payment confirmation
-Pxpay::Base.success_url = 'http://localhost:3000/success'
-Pxpay::Base.failure_url = 'http://localhost:3000/failure'
+# Uncomment for global success & failure URLs
+# Pxpay::Base.url_success = 'http://localhost:3000/success'
+# Pxpay::Base.url_failure = 'http://localhost:3000/failure'
# Coming Soon Global Variables
\ No newline at end of file