Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Test mode ON and PayPal test does not work  (Read 9497 times)

Offline jaysbar

  • Full Member
  • ***
  • Posts: 139
  • Karma: +13/-5
    • View Profile
Test mode ON and PayPal test does not work
« on: June 11, 2015, 11:19:15 AM »
Hi all,

AbanteCart V 1.2.2

I installed the PayPal Express extension. I created a PayPal account. I added my API details. I clicked on TEST and I get this error:

PayPal error: Security header is not valid. Please check your API Credentials and try again. Also please note that Test mode is ON!

IF I switch Sandbox mode to OFF - everything works fine.

Any ideas?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5851
  • Karma: +275/-2
    • View Profile
Re: Test mode ON and PayPal test does not work
« Reply #1 on: June 12, 2015, 02:09:59 AM »
Hello.

PayPal have 2 API - Live and Test
to get test API you need create sandbox account with PayPal https://developer.paypal.com/docs/classic/lifecycle/sb_about-accounts/

Offline jaysbar

  • Full Member
  • ***
  • Posts: 139
  • Karma: +13/-5
    • View Profile
Re: Test mode ON and PayPal test does not work
« Reply #2 on: June 12, 2015, 05:09:41 AM »
Hiya

I created a test Personal and Business account. Does it use the same API Signature in AbanteCart? For example, I have the following details:

PayPal API Username
Paypal API Password
PayPal API Signature
PayPal Sandbox Personal ID and Password
PayPal Sandbox Business ID and Password

Whilst I have AbanteCart in Test/Sandbox mode, which details should I enter into the API Username, Password and Signature?

Thanks

Offline jaysbar

  • Full Member
  • ***
  • Posts: 139
  • Karma: +13/-5
    • View Profile
Re: Test mode ON and PayPal test does not work
« Reply #3 on: June 12, 2015, 09:35:08 AM »
OK I got this to work now!

Sandbox and LIVE API username/password/signature are both different.

If you want to know what your Sandbox credentials are, go to Dashboard->Sandbox->Acounts then click on the Business account user then click on Profile. A popup will be displayed with the API credentials.

I tested with AbanteCart and it all works fine.

I have a question:

I finished making a test purchase. When I completed the PayPal checkout, I was bought back to AbanteCart with the following - Is this correct as it's a confusing basket payment process:

 Guest Checkout - Step 2
Enter your code, hit the "Apply Coupon" button and watch your discount instantly be applied to your order.
Coupon:
Shipping Method

Please select the preferred shipping methods to use on this order.
Royal Mail
   Airmail (Weight: 0.17lb) (Estimated Time:)    £2.93
   International Signed (Weight: 0.17lb) (Estimated Time:)    £6.40
Flat Rate
   Flat Shipping Rate    £2.00
Add Comments About Your Order

 

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5851
  • Karma: +275/-2
    • View Profile
Re: Test mode ON and PayPal test does not work
« Reply #4 on: June 12, 2015, 09:38:22 AM »
Try PayPal Pro or PayPal Standard payment methods. Both are in the AbanteCart core (Admin-Extensions-Payments)

Offline jaysbar

  • Full Member
  • ***
  • Posts: 139
  • Karma: +13/-5
    • View Profile
Re: Test mode ON and PayPal test does not work
« Reply #5 on: June 12, 2015, 11:23:32 AM »
Hi

Is the3 phase checkout a problem with PayPal or AbanteCart? I want a customer to go to PayPal, make the payment then see a Thank You For Your Payment page on AbanteCart. Is this only possible with PayPal Pro?  Ideally I do not want to pay a monthly fee for PayPal.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5851
  • Karma: +275/-2
    • View Profile
Re: Test mode ON and PayPal test does not work
« Reply #6 on: June 15, 2015, 02:31:29 AM »
I finished making a test purchase. When I completed the PayPal checkout, I was bought back to AbanteCart with the following - Is this correct as it's a confusing basket payment process:

 Guest Checkout - Step 2
Enter your code, hit the "Apply Coupon" button and watch your discount instantly be applied to your order.
Coupon:
Shipping Method

Please select the preferred shipping methods to use on this order.
Royal Mail
   Airmail (Weight: 0.17lb) (Estimated Time:)    £2.93
   International Signed (Weight: 0.17lb) (Estimated Time:)    £6.40
Flat Rate
   Flat Shipping Rate    £2.00
Add Comments About Your Order

 

Did you start checkout with PayPal express button? PayPal express designed to work in this way. You can disable shopping cart page button, then your customers select shipping first and next continue to payment process

 

Powered by SMFPacks Social Login Mod