• Resolved mathscentre

    (@mathscentre)


    The “WooCommerce Stripe Payment Gateway” by Webtoffee is excellent no doubt but I need help and advice.
    The Stripe plugin for Woocommerce does not accept International Payments for Indian merchants.
    Payment Intent failure is coming. I contacted Stripe and they advised to add some coding lines for Indian export and provided me some links:
    (i) https://stripe.com/docs/india-exports#export-of-services
    (ii) https://stripe.com/docs/india-exports#export-of-goods

    1. Is it possible to edit php file of the plugin made by you for the Indians and run it successfully and accept international payments?

    2. I do not know to code. Then how to do that. Stripe told me that they will not do any coding help for me.

    3. I cannot accept payment through Wpform and Stripe integration as I sell ebooks through woo commerce which will only be available to download after payments, automatically.

    4. Though I use Paypal but many countries do not have PayPal and some do not have PayPal account also.

    5. Stripe is the best option.

    Believe me, it is a serious problem for Indian merchants who want to accept International Payments.
    And the interesting part is even the Stripe support does not have a proper idea about the problem I am talking about.

    I will be obliged to anyone’s help or give me proper advice for Stripe and this plugin.

    I can share the response body of the payment failure.

    Regards

    For your better understanding, I am attaching the response body but changed the secret key and all for privacy.

    
    Response body
    {
      "error": {
        "code": "payment_method_unexpected_state",
        "doc_url": "https://stripe.com/docs/error-codes/payment-method-unexpected-state",
        "message": "The source you provided is not in a chargeable state.",
        "payment_intent": {
          "id": "xxxxxxxxxxxxxxxxxxxxxx",
          "object": "payment_intent",
          "amount": 398,
          "amount_capturable": 0,
          "amount_received": 0,
          "application": null,
          "application_fee_amount": null,
          "canceled_at": null,
          "cancellation_reason": null,
          "capture_method": "automatic",
          "charges": {
            "object": "list",
            "data": [
            ],
            "has_more": false,
            "total_count": 0,
            "url": "/v1/charges?payment_intent=xxxxxxxxxxxxxxxxxxxxx"
          },
          "client_secret": "xxxxxxxxxxxxxxxxS_secret_xxxxxxxxxxxxxxx",
          "confirmation_method": "automatic",
          "created": 1582097593,
          "currency": "usd",
          "customer": "cus_GlJU0aKiIrurOX",
          "description": "Maths Centre - Order 8946",
          "invoice": null,
          "last_payment_error": {
            "message": "As per Indian regulations, export transactions require a customer name and address. More info here: https://stripe.com/docs/india-exports",
            "source": {
              "id": "src_xxxxxxxxxxxxxxxx",
              "object": "source",
              "amount": null,
              "card": {
                "exp_month": 11,
                "exp_year": 20xx,
                "last4": "2xxx",
                "country": "BD",
                "brand": "MasterCard",
                "cvc_check": "unchecked",
                "funding": "prepaid",
                "fingerprint": "xxxxxxxxxxxx",
                "three_d_secure": "optional",
                "name": null,
                "address_line1_check": null,
                "address_zip_check": null,
                "tokenization_method": null,
                "dynamic_last4": null
              },
              "client_secret": "src_client_secret_xxxxxxxxxxxxxxx",
              "created": 1582133342,
              "currency": null,
              "flow": "none",
              "livemode": true,
              "metadata": {
              },
              "owner": {
                "address": {
                  "city": null,
                  "country": "BD",
                  "line1": null,
                  "line2": null,
                  "postal_code": null,
                  "state": "BD-32"
                },
                "email": "[email protected]",
                "name": "Mirxxxxxxxa",
                "phone": "01xxxxxxxxx",
                "verified_address": null,
                "verified_email": null,
                "verified_name": null,
                "verified_phone": null
              },
              "statement_descriptor": null,
              "status": "consumed",
              "type": "card",
              "usage": "reusable"
            },
            "type": "invalid_request_error"
          },
          "livemode": true,
          "metadata": {
            "customer_name": "Mirxxxxxxxx",
            "customer_email": "[email protected]",
            "order_id": "8946"
          },
          "next_action": null,
          "on_behalf_of": null,
          "payment_method": null,
          "payment_method_options": {
            "card": {
              "installments": null,
              "request_three_d_secure": "automatic"
            }
          },
          "payment_method_types": [
            "card"
          ],
          "receipt_email": null,
          "review": null,
          "setup_future_usage": null,
          "shipping": null,
          "source": null,
          "statement_descriptor": null,
          "statement_descriptor_suffix": null,
          "status": "requires_payment_method",
          "transfer_data": null,
          "transfer_group": null
        },
        "type": "invalid_request_error"
      }
    }
    
    • This topic was modified 4 years, 3 months ago by mathscentre.
    • This topic was modified 4 years, 3 months ago by mathscentre.
    • This topic was modified 4 years, 3 months ago by Yui. Reason: please use CODE button for code formatting

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @mathscentre,

    Our latest version plugin supports all data that are required as per the article. Kindly ensure to update the plugin and check again.

Viewing 1 replies (of 1 total)
  • The topic ‘Export Problem For Indian Merchants |Unable to accept International Payment’ is closed to new replies.