WordPress.org

Forums

PressPay
[resolved] Crashes when submitting payment (3 posts)

  1. jdillworth
    Member
    Posted 1 year ago #

    I setup the test secret and publishable keys from my stripe account. I put this shortcode in a test page: [presspay amount="5000" description="Pay for a late ticket" product_id="001"]

    I used credit card 4242424242424242 expiration 03/14 CVC 000 and my own address.

    I get the following stack trace:

    exception 'Stripe_InvalidRequestError' with message 'Could not determine which URL to request: Stripe_Customer instance has invalid ID: ' in /Applications/XAMPP/xamppfiles/htdocs/ciewp/wp-content/plugins/press-pay/lib/Stripe/ApiResource.php:39
    Stack trace:
    #0 /Applications/XAMPP/xamppfiles/htdocs/ciewp/wp-content/plugins/press-pay/lib/Stripe/ApiResource.php(15): Stripe_ApiResource->instanceUrl()
    #1 /Applications/XAMPP/xamppfiles/htdocs/ciewp/wp-content/plugins/press-pay/lib/Stripe/ApiResource.php(8): Stripe_ApiResource->refresh()
    #2 /Applications/XAMPP/xamppfiles/htdocs/ciewp/wp-content/plugins/press-pay/lib/Stripe/Customer.php(14): Stripe_ApiResource::_scopedRetrieve('Stripe_Customer', NULL, NULL)
    #3 /Applications/XAMPP/xamppfiles/htdocs/ciewp/wp-content/plugins/press-pay/app/model/stripe.api.model.php(35): Stripe_Customer::retrieve(NULL)
    #4 [internal function]: StripeAPIModel::get_remote_stripe_customer(Object(CheckoutController))
    #5 /Applications/XAMPP/xamppfiles/htdocs/ciewp/wp-content/plugins/press-pay/lib/Mixin.php(88): call_user_func_array(Array, Array)
    #6 [internal function]: Mixer->__call('get_remote_stri...', Array)
    #7 /Applications/XAMPP/xamppfiles/htdocs/ciewp/wp-content/plugins/press-pay/app/model/stripe.api.model.php(16): CheckoutController->get_remote_stripe_customer(Object(CheckoutController))
    #8 [internal function]: StripeAPIModel::create_remote_stripe_customer(Object(CheckoutController))
    #9 /Applications/XAMPP/xamppfiles/htdocs/ciewp/wp-content/plugins/press-pay/lib/Mixin.php(88): call_user_func_array(Array, Array)
    #10 [internal function]: Mixer->__call('create_remote_s...', Array)
    #11 /Applications/XAMPP/xamppfiles/htdocs/ciewp/wp-content/plugins/press-pay/app/controller/checkout.controller.php(122): CheckoutController->create_remote_stripe_customer(Object(CheckoutController))
    #12 /Applications/XAMPP/xamppfiles/htdocs/ciewp/wp-content/plugins/press-pay/app/controller/checkout.controller.php(32): CheckoutController->atomic_process_one_time_payment()
    #13 [internal function]: CheckoutController->update_checkout('')
    #14 /Applications/XAMPP/xamppfiles/htdocs/ciewp/wp-includes/plugin.php(406): call_user_func_array(Array, Array)
    #15 /Applications/XAMPP/xamppfiles/htdocs/ciewp/wp-settings.php(306): do_action('init')
    #16 /Applications/XAMPP/xamppfiles/htdocs/ciewp/wp-config.php(93): require_once('/Applications/X...')
    #17 /Applications/XAMPP/xamppfiles/htdocs/ciewp/wp-load.php(29): require_once('/Applications/X...')
    #18 /Applications/XAMPP/xamppfiles/htdocs/ciewp/wp-blog-header.php(12): require_once('/Applications/X...')
    #19 /Applications/XAMPP/xamppfiles/htdocs/ciewp/index.php(17): require('/Applications/X...') #20 {main}

    http://wordpress.org/plugins/press-pay/

  2. presspay
    Member
    Plugin Author

    Posted 1 year ago #

    Hi jdillworth,

    can you email me with the details of this issue? My user name is dixon and the email server is atomicbroadcast. This is a dot net rather than a dot com.

    Andrew

    P.S. sorry for the cryptic email above (I'm trying to avoid spam).

  3. presspay
    Member
    Plugin Author

    Posted 1 year ago #

    Closing as resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.