We have just released updated versions of our PHP class libraries for PayPal (one standard and one specific to CodeIgniter). The new version includes the following updates:
Fixes
- Corrected bug in update to SetExpressCheckout() to avoid PHP warnings when a TOKEN isn’t available.
- Updated library method Preapproval(). The $ClientDetails array was using an incorrect name ($ClientDetails vs. $ClientDetailsFields). Also added missing namespace.
- Updated library method PreapprovalDetails(). The XML elements were missing the namespace.
- Fixed bugs in GetBasicPersonalData and GetAdvancedPersonalData that were causing invalid XML to get sent to PayPal.
- Updated the Pay() method to use the correct Return URL for DigitalGoods payments.
- Fixed problem in library method GetPaymentOptions() that was causing parsing errors with the PayPal response.
- Fixed incorrect field name in CreateRecurringPaymentsProfile request arrays. AUTOBILLAMT updated to AUTOBILLOUTAMT
- Fixed Pay request so that it will send lowercase values for the primary parameter (true/false). PayPal returns an error if you send TRUE/FALSE
- Fixed a problem in SetPaymentOptions() where the receiverOptions node in the XML request was not getting generated correctly.
New Features
- Split Adaptive and PayFlow extended classes into separate files.
- Updated PayPal API Version to 95.0
- Added PayFlow class to the library.
- Added BMButtonSearch
- Added PayWithOptions() function to the library which combines both Pay() and SetPaymentOptions().
Hi Andrew, I have set up a multi vendor/marketplace website (using dokan + Woocommerce) and i am wondering is it possible for vendors to receive payment automatically and instantly from a sale? (kind of like ebay)
And would vendors need a Papal business account for this?
I would appreciate any info
Regards, Jesse
Hi Jesse,
Our PayPal Multi-Account for WooCommerce plugin will do that for you! Currently, you can create rules in our plugin based on the Author ID (vendor ID). Any product ordered that is owned by a vendor will get paid directly to their account. You can also set a commission to keep for yourself.
It’s recommended that vendors have a business account, but not necessarily a requirement. There are some limitations that could come from it, so again, I do recommend that all receivers of payments on the Express Checkout API (which is how this works) are business accounts.